05-19-2013, 04:56 PM
Done
Code:
******** RUN arb_separate_shader_object-GetProgramPipelineiv
Attach program (5) to stage (GL_VERTEX_SHADER). Expected to be supported: yes
Attach program (4) to stage (GL_FRAGMENT_SHADER). Expected to be supported: yes
Attach program (3) to stage (GL_GEOMETRY_SHADER). Expected to be supported: yes
Attach program (2) to stage (GL_TESS_EVALUATION_SHADER). Expected to be supported: yes
Attach program (1) to stage (GL_TESS_CONTROL_SHADER). Expected to be supported: yes
PIGLIT: {'result': 'pass' }
******** RUN arb_separate_shader_object-IsProgramPipeline
glGenProgramPipelines with negative n value
glGenProgramPipelines with correct n value
Pipeline 1 has wrong IsProgramPipeline. Expected 0, got 1
Pipeline 2 has wrong IsProgramPipeline. Expected 0, got 1
Pipeline 3 has wrong IsProgramPipeline. Expected 0, got 1
Pipeline 4 has wrong IsProgramPipeline. Expected 0, got 1
./runtest.sh: line 11: 11550 Segmentation fault (core dumped) ./$sso_test -auto
******** RUN arb_separate_shader_object-mix_pipeline_useprogram
TEST 1
Enable monolithic program
Bind pipeline
Failed to get GL_PROGRAM_PIPELINE_BINDING expected 1 got 0
PIGLIT:subtest {'TEST_1' : 'fail'}
TEST 2
Disable monolithic program
Bind pipeline
PIGLIT:subtest {'TEST_2' : 'pass'}
TEST 3
Enable monolithic program
Failed to get GL_PROGRAM_PIPELINE_BINDING expected 1 got 0
PIGLIT:subtest {'TEST_3' : 'fail'}
TEST 4
Disable monolithic program
Bind pipeline
Disable monolithic program
Bind pipeline
PIGLIT:subtest {'TEST_4' : 'pass'}
TEST 5
Disable monolithic program
Bind pipeline
Enable monolithic program
Disable monolithic program
Bind pipeline
PIGLIT:subtest {'TEST_5' : 'pass'}
TEST 6
Disable monolithic program
Unbind pipeline
PIGLIT:subtest {'TEST_6' : 'pass'}
PIGLIT: {'result': 'fail' }
******** RUN arb_separate_shader_object-ValidateProgramPipeline
INFO: ALL stages supported: running all test
TEST 1: sanity check prog_vs_fs
PIGLIT:subtest {'TEST_01' : 'pass'}
TEST 2: bad: prog_gs in the middle of prog_vs_fs
Failed to validate the pipeline: error: Program object is active for a stage between two stages for which another program object is active
PIGLIT:subtest {'TEST_02' : 'pass'}
TEST 3: bad: prog_fs and only VS of prog_vs_fs
Failed to validate the pipeline: error: Program object is not active for all stages for which it contains executable code
PIGLIT:subtest {'TEST_03' : 'pass'}
TEST 4: good: prog_vs_fs in 2 step
PIGLIT:subtest {'TEST_04' : 'pass'}
TEST 5: bad: prog_gs without prog_vs
Failed to validate the pipeline: error: Program pipeline object contains an active geometry program, but no active vertex program
PIGLIT:subtest {'TEST_05' : 'pass'}
TEST 6: bad: only GS of prog_vs_gs
!!! Wrong pipeline validation status. Got 1, expected 0
PIGLIT:subtest {'TEST_06' : 'fail'}
TEST 7: good: sanity check all single prog
PIGLIT:subtest {'TEST_07' : 'pass'}
TEST 8: bad: prog_tcs in the middle of prog_vs_gs
Failed to validate the pipeline: error: Program object is active for a stage between two stages for which another program object is active
PIGLIT:subtest {'TEST_08' : 'pass'}
TEST 9: bad: prog_tes in the middle of prog_vs_gs
Failed to validate the pipeline: error: Program object is active for a stage between two stages for which another program object is active
PIGLIT:subtest {'TEST_09' : 'pass'}
TEST 10: bad: only tes of prog_tess
!!! Wrong pipeline validation status. Got 1, expected 0
PIGLIT:subtest {'TEST_10' : 'fail'}
TEST 11: bad: prog_tess without prog_vs
Failed to validate the pipeline: error: Program pipeline object contains an active tesselation control program, but no active vertex program
error: Program pipeline object contains an active tesselation evaluation program, but no active vertex program
PIGLIT:subtest {'TEST_11' : 'pass'}
TEST 12: bad: relink attached prog_fs without GL_PROGRAM_SEPARABLE
PIGLIT:subtest {'TEST_12a' : 'pass'}
!!! Wrong pipeline validation status. Got 1, expected 0
PIGLIT:subtest {'TEST_12b' : 'fail'}
PIGLIT: {'result': 'fail' }
******** RUN useprogstage_noactive
MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTIBS=4
Compile vertex shader
Setup transform feedback for 1 varyings in interleaved mode
Link program
Create 2nd program for the pipeline
Use pipeline
Prepare 1 buffers
BindBufferBase(buffer 0)
BeginTransformFeedback
Use new program stage
PIGLIT: {'result': 'pass' }
******** RUN useprogstage_active
MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTIBS=4
Compile vertex shader
Setup transform feedback for 1 varyings in interleaved mode
Link program
Create 2nd program for the pipeline
Use pipeline
Prepare 1 buffers
BindBufferBase(buffer 0)
BeginTransformFeedback
Use new program stage
PIGLIT: {'result': 'pass' }
******** RUN bind_pipeline
MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTIBS=4
Compile vertex shader
Setup transform feedback for 1 varyings in interleaved mode
Link program
Create 2nd program for the pipeline
Use pipeline
Prepare 1 buffers
BindBufferBase(buffer 0)
BeginTransformFeedback
Bind a new pipeline
PIGLIT: {'result': 'pass' }