summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_shader.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-01-14 20:27:51 -0800
committerJason Ekstrand <[email protected]>2016-01-15 16:44:02 -0800
commit9870f798beab701a9edda81ff7ccc39f1875d610 (patch)
treeff53401eff47de252d4d0ff0d71de9fcc2ebad9e /src/mesa/drivers/dri/i965/brw_shader.cpp
parent0a6811207fbe18d49c7ab95f93ed01f75ffcdda0 (diff)
i965/fs/generator: Take an actual shader stage rather than a string
Cc: "11.1" <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp
index 3a69c23446c..d92bad25a72 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
@@ -1411,7 +1411,7 @@ brw_compile_tes(const struct brw_compiler *compiler,
fs_generator g(compiler, log_data, mem_ctx, (void *) key,
&prog_data->base.base, v.promoted_constants, false,
- "TES");
+ MESA_SHADER_TESS_EVAL);
if (unlikely(INTEL_DEBUG & DEBUG_TES)) {
g.enable_debug(ralloc_asprintf(mem_ctx,
"%s tessellation evaluation shader %s",