-
Similar to the already existing verify program_interface_query, but with the glGetProgramiv queries. Useful, for example, to verify the current number of active uniforms (via GL_ACTIVE_UNIFORMS). Note that now there are two ways to verify link success. With the already existing "link succes" shader runner query, or using this one: vefiry program_query GL_LINK_STATUS GL_TRUE Although internally they are checked in a different way. It is pending to check if there are corner cases where they return a different value. v2: Add GL_LINE_STRIP and GL_TRIANGLE_STRIP as valid results for the query (Antia Puentes). v3: add special error case for GL_COMPUTE_WORK_GROUP_SIZE, and add TODO comment (Caio Marcelo) Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com> Signed-off-by: Antia Puentes <apuentes@igalia.com> Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
4ff6e9d3