KhronosGroup / KhronosGroup/WebGL
Write conformance test for sampler array indexing in ESSL 3.00 shaders
- Dominant language
- HTML
- Stars
- 2.9k
- Forks
- 703
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 4
Description
ESSL 3.00 restricts the form of sampler array indexing to only allow constant expressions, unlike ESSL 1.00 which allows constant-index-expressions. A conformance test is needed which attempts to compile an ESSL 3.00 shader attempting to index a sampler array with a constant-index-expression, and assert that compilation fails.
Contributor guide
Research direction
The issue names no file or existing test. Start by locating the WebGL conformance-test entry point for ESSL 3.00 shader compilation, then add a shader using a constant-index-expression for sampler-array indexing. Done means the test compiles the shader and asserts that compilation fails.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100