[Mesa-dev] [PATCH v2] sampler validation

Tapani Pälli tapani.palli at intel.com
Wed Oct 15 04:32:29 PDT 2014


Here's a v2 of 'runtime sampler validation' patch. This patch does not 
fix existing failure with a Piglit test
'arb_separate_shader_object-active-sampler-conflict' because I consider
that a separate issue. I took a look and that test fails because
_mesa_validate_program_pipeline throws GL_INVALID_OPERATION which is
not read by Piglit's 'program_pipeline_check_status' or test app before
it switch to 'valid configuration' and renders again.

Tapani Pälli (1):
  mesa: validate sampler uniforms during gluniform calls

 src/mesa/main/context.c         | 12 +++++++++++
 src/mesa/main/mtypes.h          |  1 +
 src/mesa/main/uniform_query.cpp | 44 +++++++++--------------------------------
 src/mesa/main/uniforms.c        | 14 +++++++++++++
 4 files changed, 36 insertions(+), 35 deletions(-)


More information about the mesa-dev mailing list