• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1-------------------------------------------------------------------------
2drawElements Quality Program Test Specification
3-----------------------------------------------
4
5Copyright 2014 The Android Open Source Project
6
7Licensed under the Apache License, Version 2.0 (the "License");
8you may not use this file except in compliance with the License.
9You may obtain a copy of the License at
10
11     http://www.apache.org/licenses/LICENSE-2.0
12
13Unless required by applicable law or agreed to in writing, software
14distributed under the License is distributed on an "AS IS" BASIS,
15WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16See the License for the specific language governing permissions and
17limitations under the License.
18-------------------------------------------------------------------------
19    GL_EXT_shader_implicit_conversions
20
21Tests:
22 + dEQP-GLES31.functional.shaders.implicit_conversions.*
23
24Includes:
25 + All valid implicit conversion pairs
26 + Promotion to vector types (for example int -> vec3)
27 + Binary operations
28   - Arithmetic
29   - Comparison
30 + Array subscription
31 + Calling function with implicit conversion on parameter type
32 + Negative tests for invalid assignments
33 + Negative tests for implict array / struct conversions
34
35Excludes:
36 + Extensive function overloading tests with implicit conversions
37 + Extensive negative tests for various other implicit conversions
38   - Will be added in 2014.4 release
39
40Description:
41
42Valid cases compile and run a program that perform the implicit conversion
43operation in either vertex and fragment shader. Results are checked against
44reference values in the shader code and either black or white color is
45selected based on that. The test verifies that all result pixels are white.
46
47Negative cases attempt to compile a shader with the invalid operation and
48checks that the compilation in fact fails.
49