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 Sampler tests 20 21 Tests: 22 + dEQP-GLES2.functional.texture.sampler.* 23 24 Includes: 25 + Creating and deleting sampler objects 26 + Setting sampler parameters 27 + Binding samplers to texture units 28 - Single unit 29 - Multiple units 30 + Verify that sampler state supercedes texture state 31 32 Excludes: 33 + Negative API tests 34 - Will be added in 2012.3 release 35 + Sampler queries 36 - Will be added in 2012.4 release 37 38 Description: 39 40 Sampler tests construct a sampler object with selected parameters. Sampler 41 is then bound to one or more texture units populated with textures that 42 have random texture parameters set. Image is then rendered combining samples 43 from all of the textures. 44 45 Rendered image is compared against a reference image produced by a reference 46 renderer. 47