Searched refs:samplerBinding (Results 1 – 11 of 11) sorted by relevance
/external/angle/src/libANGLE/ |
D | ProgramExecutable.cpp | 577 for (const auto &samplerBinding : getSamplerBindings()) in save() local 579 stream->writeEnum(samplerBinding.textureType); in save() 580 stream->writeInt(samplerBinding.samplerType); in save() 581 stream->writeEnum(samplerBinding.format); in save() 582 stream->writeInt(samplerBinding.boundTextureUnits.size()); in save() 738 const SamplerBinding &samplerBinding = samplerBindings[samplerIndex]; in updateActiveSamplers() local 742 for (GLint textureUnit : samplerBinding.boundTextureUnits) in updateActiveSamplers() 746 mActiveSamplerTypes[textureUnit] = samplerBinding.textureType; in updateActiveSamplers() 747 mActiveSamplerYUV[textureUnit] = IsSamplerYUVType(samplerBinding.samplerType); in updateActiveSamplers() 748 mActiveSamplerFormats[textureUnit] = samplerBinding.format; in updateActiveSamplers() [all …]
|
D | Program.cpp | 4383 SamplerBinding &samplerBinding = mState.mExecutable->mSamplerBindings[samplerIndex]; in updateSamplerUniform() local 4384 std::vector<GLuint> &boundTextureUnits = samplerBinding.boundTextureUnits; in updateSamplerUniform() 4422 newSamplerType = samplerBinding.textureType; in updateSamplerUniform() 4423 newSamplerFormat = samplerBinding.format; in updateSamplerUniform() 4430 if (newSamplerType != samplerBinding.textureType) in updateSamplerUniform() 4435 if (newSamplerFormat != samplerBinding.format) in updateSamplerUniform()
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrConversionTests.cpp | 91 ShaderSpec createShaderSpec (deUint32 samplerBinding, const std::vector<vk::VkSamplerYcbcrModelConv… in createShaderSpec() argument 99 …)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX) + ", binding=" + de::toString(samplerBinding) + ") uniform … in createShaderSpec() 107 …)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX) + ", binding=" + de::toString(samplerBinding) + ") uniform … in createShaderSpec() 191 , samplerBinding (samplerBinding_) in TestConfig() 213 deUint32 samplerBinding; member 219 deUint32 samplerBinding) in createDescriptorSetLayout() argument 227 samplerBinding, in createDescriptorSetLayout() 276 deUint32 samplerBinding) in createDescriptorSet() argument 308 samplerBinding, in createDescriptorSet() 489 deUint32 samplerBinding, in evalShader() argument [all …]
|
/external/angle/src/compiler/translator/ |
D | TranslatorMetalDirect.h | 56 void addSamplerBinding(const std::string &name, size_t samplerBinding) in addSamplerBinding() argument 58 samplerBindings.insert({name, samplerBinding}); in addSamplerBinding()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_glslang_mtl_utils.h | 23 uint32_t samplerBinding = 0; member
|
D | mtl_glslang_mtl_utils.mm | 50 binding.samplerBinding = 0; 146 actualBinding.samplerBinding = currentSamplerSlot; 381 const gl::SamplerBinding &samplerBinding = samplerBindings[textureIndex]; 392 {textureIndex, static_cast<uint32_t>(samplerBinding.boundTextureUnits.size())});
|
D | ProgramMtl.mm | 835 stream->writeInt<uint32_t>(binding.samplerBinding); 860 binding.samplerBinding = stream->readInt<uint32_t>(); 1260 const gl::SamplerBinding &samplerBinding = mState.getSamplerBindings()[textureIndex]; 1268 gl::TextureType textureType = samplerBinding.textureType; 1270 for (uint32_t arrayElement = 0; arrayElement < samplerBinding.boundTextureUnits.size(); 1273 GLuint textureUnit = samplerBinding.boundTextureUnits[arrayElement]; 1277 uint32_t samplerSlot = mslBinding.samplerBinding + arrayElement; 1285 if (samplerBinding.format == gl::SamplerFormat::Shadow)
|
D | mtl_glslang_utils.mm | 242 actualBinding.samplerBinding = currentSamplerSlot; 474 const gl::SamplerBinding &samplerBinding = samplerBindings[textureIndex]; 479 {textureIndex, static_cast<uint32_t>(samplerBinding.boundTextureUnits.size())});
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | ProgramExecutableVk.cpp | 665 const gl::SamplerBinding &samplerBinding = samplerBindings[textureIndex]; in addTextureDescriptorSetDesc() local 673 uint32_t arraySize = static_cast<uint32_t>(samplerBinding.boundTextureUnits.size()); in addTextureDescriptorSetDesc() 700 GLuint textureUnit = samplerBinding.boundTextureUnits[0]; in addTextureDescriptorSetDesc() 704 ASSERT(samplerBinding.boundTextureUnits.size() == 1); in addTextureDescriptorSetDesc() 748 samplerBinding.textureType == gl::TextureType::Buffer in addTextureDescriptorSetDesc() 1699 const gl::SamplerBinding &samplerBinding = in updateTexturesDescriptorSet() local 1730 uint32_t arraySize = static_cast<uint32_t>(samplerBinding.boundTextureUnits.size()); in updateTexturesDescriptorSet() 1740 if (samplerBinding.textureType == gl::TextureType::Buffer) in updateTexturesDescriptorSet() 1744 GLuint textureUnit = samplerBinding.boundTextureUnits[arrayElement]; in updateTexturesDescriptorSet() 1773 GLuint textureUnit = samplerBinding.boundTextureUnits[arrayElement]; in updateTexturesDescriptorSet()
|
/external/angle/src/libANGLE/renderer/gl/ |
D | ProgramGL.cpp | 1091 gl::SamplerBinding &samplerBinding = (*samplerBindings)[samplerIndex]; in markUnusedUniformLocations() local 1092 if (locationRef.arrayIndex < samplerBinding.boundTextureUnits.size()) in markUnusedUniformLocations() 1095 samplerBinding.boundTextureUnits.resize(locationRef.arrayIndex); in markUnusedUniformLocations()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 3979 gl::BindingPointer<Sampler> &samplerBinding = mState.sampler[textureUnit]; in detachSampler() local 3980 if(samplerBinding.name() == sampler) in detachSampler() 3982 samplerBinding = nullptr; in detachSampler()
|