From 75d04e561b58d1f00e387c3402e2c299eb3dee87 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Fri, 3 Oct 2014 19:01:24 -0700 Subject: [PATCH] i965: Support compute shaders in is_scalar_shader_stage() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jordan Justen Reviewed-by: Kristian Høgsberg --- src/mesa/drivers/dri/i965/brw_shader.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2