From: Kenneth Graunke Date: Wed, 29 Jul 2015 01:45:32 +0000 (-0700) Subject: i965: Use real stage in "Unsupported form of variable indexing" warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=055e3a3f87d8be5374902d2ae6fecb0eb5c66714;p=mesa.git i965: Use real stage in "Unsupported form of variable indexing" warning. Other stages can be miserably slow too! Signed-off-by: Kenneth Graunke Reviewed-by: Tapani Pälli --- 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);