Home | History | Annotate | Download | only in GLES3
      1 -------------------------------------------------------------------------
      2 drawElements Quality Program Test Specification
      3 -----------------------------------------------
      4 
      5 Copyright 2014 The Android Open Source Project
      6 
      7 Licensed under the Apache License, Version 2.0 (the "License");
      8 you may not use this file except in compliance with the License.
      9 You may obtain a copy of the License at
     10 
     11      http://www.apache.org/licenses/LICENSE-2.0
     12 
     13 Unless required by applicable law or agreed to in writing, software
     14 distributed under the License is distributed on an "AS IS" BASIS,
     15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16 See the License for the specific language governing permissions and
     17 limitations under the License.
     18 -------------------------------------------------------------------------
     19     GLSL switch statement tests
     20 
     21 Tests:
     22  + dEQP-GLES3.functional.shaders.switch.*
     23 
     24 Includes:
     25  + Constant, uniform and dynamic switch expressions
     26  + Constant literals as case labels
     27  + Complex constant expressions as case labels
     28  + Fall-through
     29  + Default label
     30  + Nested switch, conditional and loop statements
     31  + Negative syntax tests for switch statements
     32    - Missing colons, opening or closing braces etc.
     33  + Negative semantic tests for switch statements
     34    - Statements before first label
     35    - Non-integer switch expressions
     36    - case or default labels inside nested contol flow
     37    - No statement between a label and end of switch statement
     38 
     39 Excludes:
     40 
     41 Description:
     42 
     43 Functional tests operate by comparing image rendered by shader against
     44 a reference image computed using same operation written in C.
     45 
     46 Negative tests try to compile the given shader and expect compilation
     47 to fail.
     48