Re: [Mesa-dev] [PATCH 16/20] program_resource: add subroutine support (v2)

2015-07-23 Thread Timothy Arceri
On Tue, 2015-07-21 at 15:19 +1000, Dave Airlie wrote: > From: Dave Airlie > > This fleshes out the ARB_program_query support for the > APIs that ARB_shader_subroutine introduces, leaving > some TODOs for later addition. > > v2: reworked for lots of the ARB_program_interface_query > entry points

Re: [Mesa-dev] [PATCH 16/20] program_resource: add subroutine support (v2)

2015-07-20 Thread Ilia Mirkin
On Tue, Jul 21, 2015 at 1:19 AM, Dave Airlie wrote: > @@ -366,18 +411,25 @@ _mesa_GetProgramResourceLocation(GLuint program, GLenum > programInterface, > case GL_PROGRAM_OUTPUT: >break; > > + case GL_VERTEX_SUBROUTINE_UNIFORM: > + case GL_FRAGMENT_SUBROUTINE_UNIFORM: > + if (

[Mesa-dev] [PATCH 16/20] program_resource: add subroutine support (v2)

2015-07-20 Thread Dave Airlie
From: Dave Airlie This fleshes out the ARB_program_query support for the APIs that ARB_shader_subroutine introduces, leaving some TODOs for later addition. v2: reworked for lots of the ARB_program_interface_query entry points and tests Signed-off-by: Dave Airlie --- src/mesa/main/program_reso