Re: [Mesa-dev] [PATCH 12/14] radeonsi/nir: add support for packed inputs

2017-11-29 Thread Nicolai Hähnle
On 21.11.2017 04:37, Timothy Arceri wrote: Because NIR can create non vec4 variables when implementing component packing we need to make sure not to reprocess the same slot again. Also we can drop the fs_attr_idx counter and just use driver_location. --- src/gallium/drivers/radeonsi/si_shader_

[Mesa-dev] [PATCH 12/14] radeonsi/nir: add support for packed inputs

2017-11-20 Thread Timothy Arceri
Because NIR can create non vec4 variables when implementing component packing we need to make sure not to reprocess the same slot again. Also we can drop the fs_attr_idx counter and just use driver_location. --- src/gallium/drivers/radeonsi/si_shader_nir.c | 46 +++- 1 fil