Re: [Mesa-dev] [PATCH 2/2] i965/sf_state: Pull flat_enables out of prog_data

2016-04-05 Thread Samuel Iglesias Gonsálvez
Reviewed-by: Samuel Iglesias Gonsálvez On 06/04/16 05:12, Jason Ekstrand wrote: > Previously, we were walking over the shader source to figure out which > inputs should be marked flat. Now, we can just pull it out of prog_data. > This is needed for properly setting up 3DSTATE_SF/SBE for Vulkan a

[Mesa-dev] [PATCH 2/2] i965/sf_state: Pull flat_enables out of prog_data

2016-04-05 Thread Jason Ekstrand
Previously, we were walking over the shader source to figure out which inputs should be marked flat. Now, we can just pull it out of prog_data. This is needed for properly setting up 3DSTATE_SF/SBE for Vulkan and it also means that it will get properly cached. --- src/mesa/drivers/dri/i965/brw_st