Re: [Mesa-dev] [PATCH shader-db 1/2] run: Add separate shader objects support.

2016-07-26 Thread Kenneth Graunke
On Tuesday, July 26, 2016 1:07:57 PM PDT Timothy Arceri wrote: > On Mon, 2016-07-25 at 16:54 -0700, Kenneth Graunke wrote: > > With this patch, if a .shader_test file contains > > > > [require] > > ... > > SSO ENABLED > > > > then we'll set GL_PROGRAM_SEPARABLE to compile the shaders

Re: [Mesa-dev] [PATCH shader-db 1/2] run: Add separate shader objects support.

2016-07-25 Thread Timothy Arceri
On Mon, 2016-07-25 at 16:54 -0700, Kenneth Graunke wrote: > With this patch, if a .shader_test file contains > > [require] > ... > SSO ENABLED > > then we'll set GL_PROGRAM_SEPARABLE to compile the shaders into > separate > shader objects.  This prevents the linker from removing unuse

[Mesa-dev] [PATCH shader-db 1/2] run: Add separate shader objects support.

2016-07-25 Thread Kenneth Graunke
With this patch, if a .shader_test file contains [require] ... SSO ENABLED then we'll set GL_PROGRAM_SEPARABLE to compile the shaders into separate shader objects. This prevents the linker from removing unused inputs and outputs. Drivers may also choose to lay out interfaces of SSO