summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-07-28 18:45:32 -0700
committerKenneth Graunke <[email protected]>2015-07-28 23:03:08 -0700
commit055e3a3f87d8be5374902d2ae6fecb0eb5c66714 (patch)
treed423cf0efa05b764190e6cea9f7c71e75bcc502f /src/mesa/drivers
parente235ca159f5f6de2bd29616fdda5c02dc69b0d7f (diff)
i965: Use real stage in "Unsupported form of variable indexing" warning.
Other stages can be miserably slow too! Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_shader.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/src/mesa/drivers/dri/i965/brw_shader.cpp
index 703e9aa913e..4186432ae41 100644
--- a/src/mesa/drivers/dri/i965/brw_shader.cpp
+++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
@@ -290,8 +290,9 @@ process_glsl_ir(gl_shader_stage stage,
options->EmitNoIndirectUniform);
if (unlikely(brw->perf_debug && lowered_variable_indexing)) {
- perf_debug("Unsupported form of variable indexing in FS; falling "
- "back to very inefficient code generation\n");
+ perf_debug("Unsupported form of variable indexing in %s; falling "
+ "back to very inefficient code generation\n",
+ _mesa_shader_stage_to_abbrev(shader->Stage));
}
lower_ubo_reference(shader, shader->ir);