[Mesa-dev] [PATCH] i965: Use real stage in "Unsupported form of variable indexing" warning.

Tapani Pälli tapani.palli at intel.com
Tue Jul 28 22:21:22 PDT 2015


Reviewed-by: Tapani Pälli <tapani.palli at intel.com>

On 07/29/2015 04:48 AM, Kenneth Graunke wrote:
> Other stages can be miserably slow too!
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>   src/mesa/drivers/dri/i965/brw_shader.cpp | 5 +++--
>   1 file 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 7808212..154c9a2 100644
> --- a/src/mesa/drivers/dri/i965/brw_shader.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_shader.cpp
> @@ -302,8 +302,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);
>


More information about the mesa-dev mailing list