blob: 0f28f8d3325e6758636d2cacedadbff9e3cab97b [file] [log] [blame] [edit]
-------------------------------------------------------------------------
drawElements Quality Program Test Specification
-----------------------------------------------
Copyright 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-------------------------------------------------------------------------
GLSL switch statement tests
Tests:
+ dEQP-GLES3.functional.shaders.switch.*
Includes:
+ Constant, uniform and dynamic switch expressions
+ Constant literals as case labels
+ Complex constant expressions as case labels
+ Fall-through
+ Default label
+ Nested switch, conditional and loop statements
+ Negative syntax tests for switch statements
- Missing colons, opening or closing braces etc.
+ Negative semantic tests for switch statements
- Statements before first label
- Non-integer switch expressions
- case or default labels inside nested contol flow
- No statement between a label and end of switch statement
Excludes:
Description:
Functional tests operate by comparing image rendered by shader against
a reference image computed using same operation written in C.
Negative tests try to compile the given shader and expect compilation
to fail.