diff options
author | Kenneth Graunke <[email protected]> | 2015-07-28 18:45:32 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-07-28 23:03:08 -0700 |
commit | 055e3a3f87d8be5374902d2ae6fecb0eb5c66714 (patch) | |
tree | d423cf0efa05b764190e6cea9f7c71e75bcc502f | |
parent | e235ca159f5f6de2bd29616fdda5c02dc69b0d7f (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]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_shader.cpp | 5 |
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); |