Re: [Mesa-dev] [PATCH 17/24] mesa/main: Add a 'spirv' flag to gl_shader_program_data

2017-11-21 Thread Timothy Arceri
On 21/11/17 21:30, Eduardo Lima Mitev wrote: On 11/20/2017 01:54 PM, Timothy Arceri wrote: On 20/11/17 21:56, Eduardo Lima Mitev wrote: On 11/20/2017 11:31 AM, Timothy Arceri wrote: On 20/11/17 19:00, Eduardo Lima Mitev wrote: On 11/16/2017 12:23 AM, Timothy Arceri wrote: On 16/11/17

Re: [Mesa-dev] [PATCH 17/24] mesa/main: Add a 'spirv' flag to gl_shader_program_data

2017-11-21 Thread Eduardo Lima Mitev
On 11/20/2017 01:54 PM, Timothy Arceri wrote: On 20/11/17 21:56, Eduardo Lima Mitev wrote: On 11/20/2017 11:31 AM, Timothy Arceri wrote: On 20/11/17 19:00, Eduardo Lima Mitev wrote: On 11/16/2017 12:23 AM, Timothy Arceri wrote: On 16/11/17 00:22, Eduardo Lima Mitev wrote: This will be used

Re: [Mesa-dev] [PATCH 17/24] mesa/main: Add a 'spirv' flag to gl_shader_program_data

2017-11-20 Thread Timothy Arceri
On 20/11/17 21:56, Eduardo Lima Mitev wrote: On 11/20/2017 11:31 AM, Timothy Arceri wrote: On 20/11/17 19:00, Eduardo Lima Mitev wrote: On 11/16/2017 12:23 AM, Timothy Arceri wrote: On 16/11/17 00:22, Eduardo Lima Mitev wrote: This will be used by the linker code to dfferentiate between

Re: [Mesa-dev] [PATCH 17/24] mesa/main: Add a 'spirv' flag to gl_shader_program_data

2017-11-20 Thread Eduardo Lima Mitev
On 11/20/2017 11:31 AM, Timothy Arceri wrote: On 20/11/17 19:00, Eduardo Lima Mitev wrote: On 11/16/2017 12:23 AM, Timothy Arceri wrote: On 16/11/17 00:22, Eduardo Lima Mitev wrote: This will be used by the linker code to dfferentiate between programs made out of SPIR-V or GLSL shaders.

Re: [Mesa-dev] [PATCH 17/24] mesa/main: Add a 'spirv' flag to gl_shader_program_data

2017-11-20 Thread Timothy Arceri
On 20/11/17 19:00, Eduardo Lima Mitev wrote: On 11/16/2017 12:23 AM, Timothy Arceri wrote: On 16/11/17 00:22, Eduardo Lima Mitev wrote: This will be used by the linker code to dfferentiate between programs made out of SPIR-V or GLSL shaders. So far everywhere this is used it seems you could

Re: [Mesa-dev] [PATCH 17/24] mesa/main: Add a 'spirv' flag to gl_shader_program_data

2017-11-20 Thread Eduardo Lima Mitev
On 11/16/2017 12:23 AM, Timothy Arceri wrote: On 16/11/17 00:22, Eduardo Lima Mitev wrote: This will be used by the linker code to dfferentiate between programs made out of SPIR-V or GLSL shaders. So far everywhere this is used it seems you could just do something like:  if

Re: [Mesa-dev] [PATCH 17/24] mesa/main: Add a 'spirv' flag to gl_shader_program_data

2017-11-15 Thread Timothy Arceri
On 16/11/17 00:22, Eduardo Lima Mitev wrote: This will be used by the linker code to dfferentiate between programs made out of SPIR-V or GLSL shaders. So far everywhere this is used it seems you could just do something like: if (shProg->_LinkedShaders[stage]->spirv_data) ... spriv stuff

[Mesa-dev] [PATCH 17/24] mesa/main: Add a 'spirv' flag to gl_shader_program_data

2017-11-15 Thread Eduardo Lima Mitev
This will be used by the linker code to dfferentiate between programs made out of SPIR-V or GLSL shaders. --- src/mesa/main/mtypes.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index d624f2cbd19..db9c2e1deaa 100644 ---