i965: Use real stage in "Unsupported form of variable indexing" warning.
Other stages can be miserably slow too! Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user