[Piglit] [PATCH 0/2] shader_runner: Add ARB_program_interface_query support

Samuel Iglesias Gonsalvez siglesias at igalia.com
Wed Sep 16 01:31:06 PDT 2015


Hello,

Following my idea described here [0], I modified shader_runner to accept
other program interfaces.

The format of the command is:

 active program_interface GL_INTERFACE_TYPE_ENUM var_name GL_PROPS_ENUM integer
 
or, if we include the GL type enum:

 active program_interface GL_INTERFACE_TYPE_ENUM var_name GL_PROPS_ENUM GL_TYPE_ENUM

Some examples:

active program_interface GL_UNIFORM i1 GL_MATRIX_STRIDE 0
active program_interface GL_UNIFORM i1 GL_IS_ROW_MAJOR 0
active program_interface GL_PROGRAM_OUTPUT piglit_fragcolor GL_TYPE GL_FLOAT_VEC4
active program_interface GL_PROGRAM_INPUT piglit_vertex GL_TYPE GL_FLOAT_VEC4

What do you think?

Thanks,

Sam

[0] http://lists.freedesktop.org/archives/piglit/2015-September/017080.html 

Samuel Iglesias Gonsalvez (2):
  shader_runner: make active_uniforms's all_types variable be global
  shader_runner: Add ARB_program_interface_query support

 tests/shaders/shader_runner.c | 322 ++++++++++++++++++++++++++++++++----------
 1 file changed, 244 insertions(+), 78 deletions(-)

-- 
2.1.4



More information about the Piglit mailing list