mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 02:30:18 +01:00
mesa/cs: Handle compute shaders in _mesa_use_program().
v2: do cs after the ordered pipeline stages for consistency. Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
c15064c169
commit
9b34ae2e64
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue