aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2014-10-03 19:01:24 -0700
committerJordan Justen <[email protected]>2015-09-10 16:46:29 -0700
commit75d04e561b58d1f00e387c3402e2c299eb3dee87 (patch)
tree03939b31d2a810204e0a18303243a8af15ebc566
parent2b9c35945a74c6e2b559bb52eb612231465e86a1 (diff)
i965: Support compute shaders in is_scalar_shader_stage()
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp
index d353591c356..cf9aa232386 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
@@ -195,6 +195,7 @@ is_scalar_shader_stage(struct brw_context *brw, int stage)
{
switch (stage) {
case MESA_SHADER_FRAGMENT:
+ case MESA_SHADER_COMPUTE:
return true;
case MESA_SHADER_VERTEX:
return brw->intelScreen->compiler->scalar_vs;