Re: [Mesa-dev] [PATCH 3/4] r600g: Set geometry properties in r600_create_shader_state()

2015-08-29 Thread Marek Olšák
On Sat, Aug 29, 2015 at 10:31 AM, Edward O'Callaghan wrote: > From: Edward O'Callaghan > > The selector is shared by all shader variants, so the > individual shaders shouldn't change it. Use tgsi_shader_scan() > results to set geometry properties within a > r600_create_shader_state() call and tre

[Mesa-dev] [PATCH 3/4] r600g: Set geometry properties in r600_create_shader_state()

2015-08-29 Thread Edward O'Callaghan
From: Edward O'Callaghan The selector is shared by all shader variants, so the individual shaders shouldn't change it. Use tgsi_shader_scan() results to set geometry properties within a r600_create_shader_state() call and treat said propertices in the selector as read-only within r600_shader_from