[Piglit] [PATCH v2] arb_program_interface_query: fix getprogramresourceiv errors

2015-08-12 Thread Tapani Pälli
Move IS_PER_PATCH as part of tessellation queries, require GL_ARB_compute_shader for compute shader enum queries. Strictly speaking, spec would allow to query GL_REFERENCED_BY_COMPUTE_SHADER without having compute shaders but as it disallows GL_COMPUTE_SUBROUTINE and GL_COMPUTE_SUBROUTINE_UNIFORM

Re: [Piglit] [PATCH v2] arb_program_interface_query: fix getprogramresourceiv errors

2015-08-12 Thread Francisco Jerez
Tapani Pälli tapani.pa...@intel.com writes: Move IS_PER_PATCH as part of tessellation queries, require GL_ARB_compute_shader for compute shader enum queries. Strictly speaking, spec would allow to query GL_REFERENCED_BY_COMPUTE_SHADER without having compute shaders but as it disallows