Re: [Mesa-dev] [PATCH] intel/compiler: Use nir's info when checking uses_streams.

2018-11-27 Thread Iago Toral
Reviewed-by: Iago Toral Quiroga On Tue, 2018-11-27 at 15:34 -0800, Kenneth Graunke wrote: > Vulkan and Gallium don't use Mesa's gl_program data structure, so > they > can't poke at 'prog'. But we can simply use the copy of the shader > info > stored with the NIR shader, which is guaranteed to

[Mesa-dev] [PATCH] intel/compiler: Use nir's info when checking uses_streams.

2018-11-27 Thread Kenneth Graunke
Vulkan and Gallium don't use Mesa's gl_program data structure, so they can't poke at 'prog'. But we can simply use the copy of the shader info stored with the NIR shader, which is guaranteed to exist. Reviewed-by: Jason Ekstrand --- src/intel/compiler/brw_vec4_gs_visitor.cpp | 2 +- 1 file