------------------------------------------------------------------------- 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. ------------------------------------------------------------------------- Sampler tests Tests: + dEQP-GLES2.functional.texture.sampler.* Includes: + Creating and deleting sampler objects + Setting sampler parameters + Binding samplers to texture units - Single unit - Multiple units + Verify that sampler state supercedes texture state Excludes: + Negative API tests - Will be added in 2012.3 release + Sampler queries - Will be added in 2012.4 release Description: Sampler tests construct a sampler object with selected parameters. Sampler is then bound to one or more texture units populated with textures that have random texture parameters set. Image is then rendered combining samples from all of the textures. Rendered image is compared against a reference image produced by a reference renderer.