summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglshaderprogram.h
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2013-03-01 16:32:04 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-02 12:58:18 +0100
commit8c4d02ef875518be21f63bd115a0bec813da5a91 (patch)
treec00bf5811c64e054657d0c321ceb0c3048e32f9e /src/gui/opengl/qopenglshaderprogram.h
parent7e5d1c1c2fc764d4cacc3e367542e1f42e6b772e (diff)
OpenGL: Add support for the Compute shader stage
Change-Id: Ibb1b79358758c2adf818af8c6fcd5c379efad8c3 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/gui/opengl/qopenglshaderprogram.h')
-rw-r--r--src/gui/opengl/qopenglshaderprogram.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/opengl/qopenglshaderprogram.h b/src/gui/opengl/qopenglshaderprogram.h
index 3677779a6a..6c3dd37843 100644
--- a/src/gui/opengl/qopenglshaderprogram.h
+++ b/src/gui/opengl/qopenglshaderprogram.h
@@ -67,7 +67,8 @@ public:
Fragment = 0x0002,
Geometry = 0x0004,
TessellationControl = 0x0008,
- TessellationEvaluation = 0x0010
+ TessellationEvaluation = 0x0010,
+ Compute = 0x0020
};
Q_DECLARE_FLAGS(ShaderType, ShaderTypeBit)