Add more flexible handling for GLSL source handling
The glmark2 project has a nice set of objects for managing GLSL (and GLSL ES) shader source prior to compilation and linking. These are sort of a preprocessor for the strings read out of the files on disk and allow for dynamic generation of precision declarations, constants, and other symbols (or even whole sections of code) at either global or local scope. It would be good to share these objects with glcompbench.
Blueprint information
- Status:
- Complete
- Approver:
- Jesse Barker
- Priority:
- Medium
- Drafter:
- Jesse Barker
- Direction:
- Approved
- Assignee:
- Jesse Barker
- Definition:
- Approved
- Series goal:
- Accepted for trunk
- Implementation:
- Implemented
- Milestone target:
- 2011.12
- Started by
- Jesse Barker
- Completed by
- Jesse Barker
Related branches
Related bugs
Sprints
Whiteboard
Headline: Sharing common objects between projects to avoid code duplication
Acceptance: Benchmark runs successfully with no difference from previous release.
Work Items
Work items:
Add Util objects from glmark2: DONE
Add ShaderSource objects from glmark2: DONE
Update CompositeTestBase object to use ShaderSource: DONE
Update shaders to reflect handling to be done by ShaderSource: DONE
Update derived GL-based test classes to configure shaders using ShaderSource: DONE