[Piglit] [PATCH 0/4] ARB_separate_shader_objects V3
gregory
gregory.hainaut at gmail.com
Thu Apr 4 12:00:38 PDT 2013
TEST status:
IsProgramPipeline:
* neither AMD/NVIDIA follow the spec...
* Crash on AMD: because of -1 of glGenProgramPipelines( -1, id)
* Crash on Nvidia: glGetProgramPipelineiv(4, GL_VERTEX_SHADER, &value).
GetProgramPipelineiv:
* working on nvidia
* FGLRX only accept as Active Program, program that was previously attached to
the pipeline. No mention in the spec
mix_pipeline_useprogram:
* working on nvidia
* FGLRX doesn't restore the pipeline when single program is unattached (glUseProgram(0))
ValidateProgramPipeline:
* PART 6 is bad on nvidia only (good on FGLRX)
* PART 11 is bad on FGLRX only (good on nvidia)
* PART 12 are bad on both drivers. Technically the spec said that the pipeline must be bound
and current to check the GL_PROGRAM_SEPARABLE flags. But it doesn't make any sense on a bindless
free api... I try to bind it on FGLRX but I didn't see any change. Don't know on nvidia side.
api-errors:
* working on nvidia
* FGLRX doesn't report any error
*****************************************************************
V3:
* Fix all test on Nvidia GPU.
* Add a new test ValidateProgramPipeline
V2:
* split the patch properly with git :)
* sso-GetProgramPipelineiv: fix a VS linker error. Print current test
step.
* sso-mix_pipeline_useprogram: fix a wrong expected. Now the test must
work on nvidia :)
* sso-IsProgramPipeline: Print more current test step
=> my guess is nvidia choke on glDeleteProgramPipelines( -1,
id);
=> Nvidia as AMD doesn't follow the spec (not very serious)
******************************************************************
gregory (4):
piglit util: new functions piglit_program_pipeline_check_status/quiet
add 3 news tests for arb_separate_shader_objects
update EXT_transform_feedback error detection
SSO: new test ValidateProgramPipeline
tests/all.tests | 12 +-
tests/spec/CMakeLists.txt | 1 +
.../arb_separate_shader_objects/CMakeLists.gl.txt | 17 +
.../arb_separate_shader_objects/CMakeLists.txt | 1 +
.../GetProgramPipelineiv.c | 281 ++++++++++++++
.../IsProgramPipeline.c | 113 ++++++
.../ValidateProgramPipeline.c | 403 ++++++++++++++++++++
.../mix_pipeline_useprogram.c | 363 ++++++++++++++++++
tests/spec/ext_transform_feedback/api-errors.c | 84 +++-
tests/util/piglit-shader.c | 50 +++
tests/util/piglit-shader.h | 2 +
11 files changed, 1324 insertions(+), 3 deletions(-)
create mode 100644 tests/spec/arb_separate_shader_objects/CMakeLists.gl.txt
create mode 100644 tests/spec/arb_separate_shader_objects/CMakeLists.txt
create mode 100644 tests/spec/arb_separate_shader_objects/GetProgramPipelineiv.c
create mode 100644 tests/spec/arb_separate_shader_objects/IsProgramPipeline.c
create mode 100644 tests/spec/arb_separate_shader_objects/ValidateProgramPipeline.c
create mode 100644 tests/spec/arb_separate_shader_objects/mix_pipeline_useprogram.c
--
1.7.10.4
More information about the Piglit
mailing list