[Mesa-dev] [PATCH] anv/pipeline: Lower indirect outputs when EmitNoIndirectOutput is set

Kenneth Graunke kenneth at whitecape.org
Tue Sep 6 04:15:56 UTC 2016


On Monday, September 5, 2016 8:10:48 PM PDT Jason Ekstrand wrote:
> Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
> Reported-by: Timothy Arceri <timothy.arceri at collabora.com>
> ---
>  src/intel/vulkan/anv_pipeline.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c
> index 35acc4a..9780201 100644
> --- a/src/intel/vulkan/anv_pipeline.c
> +++ b/src/intel/vulkan/anv_pipeline.c
> @@ -186,6 +186,8 @@ anv_shader_compile_to_nir(struct anv_device *device,
>     nir_variable_mode indirect_mask = 0;
>     if (compiler->glsl_compiler_options[stage].EmitNoIndirectInput)
>        indirect_mask |= nir_var_shader_in;
> +   if (compiler->glsl_compiler_options[stage].EmitNoIndirectOutput)
> +      indirect_mask |= nir_var_shader_out;
>     if (compiler->glsl_compiler_options[stage].EmitNoIndirectTemp)
>        indirect_mask |= nir_var_local;
>  
> 

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160905/46b7afdf/attachment.sig>


More information about the mesa-dev mailing list