Lines Matching defs:binding
274 const TextureBinding& binding = bindings[ndx];
276 if (binding.getType() == TextureBinding::TYPE_NONE)
279 textures[ndx].sampler = binding.getSampler();
281 switch (binding.getType())
283 case TextureBinding::TYPE_2D: textures[ndx].tex2D = &binding.get2D()->getRefTexture(); break;
284 case TextureBinding::TYPE_CUBE_MAP: textures[ndx].texCube = &binding.getCube()->getRefTexture(); break;
285 case TextureBinding::TYPE_2D_ARRAY: textures[ndx].tex2DArray = &binding.get2DArray()->getRefTexture(); break;
286 case TextureBinding::TYPE_3D: textures[ndx].tex3D = &binding.get3D()->getRefTexture(); break;
501 throw tcu::NotSupportedError("2D array texture binding is not supported");
504 throw tcu::NotSupportedError("3D texture binding is not supported");