Hi; I've been reading through GL_ARB_program_interface_query spec [1]. To get better understanding I started to write some tests, here is test for glGetProgramResourceLocation.
This test passes OK on AMD Radeon 7600G (fglrx driver 4.3.12798). Some parts also pass on my experimental Mesa branch. [1] https://www.opengl.org/registry/specs/ARB/program_interface_query.txt Tapani Pälli (1): gl_arb_program_interface_query: glGetProgramResourceLocation test tests/all.py | 4 + tests/spec/CMakeLists.txt | 1 + .../arb_program_interface_query/CMakeLists.gl.txt | 12 + .../arb_program_interface_query/CMakeLists.txt | 1 + .../resource-location.c | 365 +++++++++++++++++++++ 5 files changed, 383 insertions(+) create mode 100644 tests/spec/arb_program_interface_query/CMakeLists.gl.txt create mode 100644 tests/spec/arb_program_interface_query/CMakeLists.txt create mode 100644 tests/spec/arb_program_interface_query/resource-location.c -- 1.9.3 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
