projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c15064c
)
mesa/cs: Handle compute shaders in _mesa_use_program().
author
Paul Berry
<stereotype441@gmail.com>
Tue, 7 Jan 2014 17:00:02 +0000
(09:00 -0800)
committer
Paul Berry
<stereotype441@gmail.com>
Wed, 5 Feb 2014 17:01:16 +0000
(09:01 -0800)
v2: do cs after the ordered pipeline stages for consistency.
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/shaderapi.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaderapi.c
b/src/mesa/main/shaderapi.c
index 519b200198100b1461acad2179e9d6beb774a2c8..987c48aff34eca7e5d8553c1884ce0d8139da1ed 100644
(file)
--- a/
src/mesa/main/shaderapi.c
+++ b/
src/mesa/main/shaderapi.c
@@
-994,6
+994,7
@@
_mesa_use_program(struct gl_context *ctx, struct gl_shader_program *shProg)
use_shader_program(ctx, GL_VERTEX_SHADER, shProg);
use_shader_program(ctx, GL_GEOMETRY_SHADER_ARB, shProg);
use_shader_program(ctx, GL_FRAGMENT_SHADER, shProg);
+ use_shader_program(ctx, GL_COMPUTE_SHADER, shProg);
_mesa_active_program(ctx, shProg, "glUseProgram");
if (ctx->Driver.UseProgram)