summaryrefslogtreecommitdiffstats
path: root/examples/opengl/opengl.pro
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@theqtcompany.com>2016-02-11 09:44:14 +0100
committerPaolo Angelelli <paolo.angelelli@theqtcompany.com>2016-09-21 16:45:50 +0000
commita6b8b03f864eac18c106d57e31a79b9078aa9625 (patch)
tree9fdbf20dbda81783a02f2b36141e098dfe4b0fe9 /examples/opengl/opengl.pro
parentabbc5ecc5e93c2d147b8730f7d82200900580c75 (diff)
OpenGL: add support for compute shaders in GLES 3.1
OpenGL ES 3.1 introduces compute shaders. This patch enables them also in QOpenGLShader/QOpenGLShaderProgram. A GL/GLES example using QOpenGLShaderProgram for compute shaders is also included. Change-Id: I3951a302d7c2b096548f829b9b4578b5a525c453 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'examples/opengl/opengl.pro')
-rw-r--r--examples/opengl/opengl.pro3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/opengl/opengl.pro b/examples/opengl/opengl.pro
index a102e08733..ef44201494 100644
--- a/examples/opengl/opengl.pro
+++ b/examples/opengl/opengl.pro
@@ -14,7 +14,8 @@ qtHaveModule(widgets) {
qopenglwidget \
cube \
textures \
- hellogles3
+ hellogles3 \
+ computegles31
}
EXAMPLE_FILES += \