/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrConversionTests.cpp | 92 ShaderSpec createShaderSpec (deUint32 samplerBinding, const std::vector<vk::VkSamplerYcbcrModelConv… in createShaderSpec() argument 100 …)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX) + ", binding=" + de::toString(samplerBinding) + ") uniform … in createShaderSpec() 108 …)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX) + ", binding=" + de::toString(samplerBinding) + ") uniform … in createShaderSpec() 192 , samplerBinding (samplerBinding_) in TestConfig() 214 deUint32 samplerBinding; member 220 deUint32 samplerBinding) in createDescriptorSetLayout() argument 228 samplerBinding, in createDescriptorSetLayout() 277 deUint32 samplerBinding) in createDescriptorSet() argument 309 samplerBinding, in createDescriptorSet() 490 deUint32 samplerBinding, in evalShader() argument [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
D | vktYCbCrConversionTests.cpp | 92 ShaderSpec createShaderSpec (deUint32 samplerBinding, const std::vector<vk::VkSamplerYcbcrModelConv… in createShaderSpec() argument 100 …)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX) + ", binding=" + de::toString(samplerBinding) + ") uniform … in createShaderSpec() 108 …)EXTRA_RESOURCES_DESCRIPTOR_SET_INDEX) + ", binding=" + de::toString(samplerBinding) + ") uniform … in createShaderSpec() 192 , samplerBinding (samplerBinding_) in TestConfig() 214 deUint32 samplerBinding; member 220 deUint32 samplerBinding) in createDescriptorSetLayout() argument 228 samplerBinding, in createDescriptorSetLayout() 277 deUint32 samplerBinding) in createDescriptorSet() argument 309 samplerBinding, in createDescriptorSet() 490 deUint32 samplerBinding, in evalShader() argument [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | ProgramExecutable.cpp | 646 for (const auto &samplerBinding : getSamplerBindings()) in save() local 648 stream->writeEnum(samplerBinding.textureType); in save() 649 stream->writeInt(samplerBinding.samplerType); in save() 650 stream->writeEnum(samplerBinding.format); in save() 651 stream->writeInt(samplerBinding.boundTextureUnits.size()); in save() 778 const SamplerBinding &samplerBinding = samplerBindings[samplerIndex]; in updateActiveSamplers() local 782 for (GLint textureUnit : samplerBinding.boundTextureUnits) in updateActiveSamplers() 786 mActiveSamplerTypes[textureUnit] = samplerBinding.textureType; in updateActiveSamplers() 787 mActiveSamplerYUV[textureUnit] = IsSamplerYUVType(samplerBinding.samplerType); in updateActiveSamplers() 788 mActiveSamplerFormats[textureUnit] = samplerBinding.format; in updateActiveSamplers() [all …]
|
D | Program.cpp | 4029 SamplerBinding &samplerBinding = mState.mExecutable->mSamplerBindings[samplerIndex]; in updateSamplerUniform() local 4030 std::vector<GLuint> &boundTextureUnits = samplerBinding.boundTextureUnits; in updateSamplerUniform() 4068 newSamplerType = samplerBinding.textureType; in updateSamplerUniform() 4069 newSamplerFormat = samplerBinding.format; in updateSamplerUniform() 4076 if (newSamplerType != samplerBinding.textureType) in updateSamplerUniform() 4081 if (newSamplerFormat != samplerBinding.format) in updateSamplerUniform()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | TranslatorMetalDirect.h | 60 void addSamplerBinding(const std::string &name, size_t samplerBinding) in addSamplerBinding() argument 62 samplerBindings.insert({name, samplerBinding}); in addSamplerBinding()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_glslang_mtl_utils.mm | 51 binding.samplerBinding = 0; 147 actualBinding.samplerBinding = currentSamplerSlot; 389 const gl::SamplerBinding &samplerBinding = samplerBindings[textureIndex]; 400 {textureIndex, static_cast<uint32_t>(samplerBinding.boundTextureUnits.size())});
|
D | mtl_glslang_mtl_utils.h | 23 uint32_t samplerBinding = 0; member
|
D | ProgramMtl.mm | 828 stream->writeInt<uint32_t>(binding.samplerBinding); 849 stream->writeInt<uint32_t>(binding.samplerBinding); 874 binding.samplerBinding = stream->readInt<uint32_t>(); 895 binding.samplerBinding = stream->readInt<uint32_t>(); 1297 const gl::SamplerBinding &samplerBinding = mState.getSamplerBindings()[textureIndex]; 1305 gl::TextureType textureType = samplerBinding.textureType; 1307 for (uint32_t arrayElement = 0; arrayElement < samplerBinding.boundTextureUnits.size(); 1310 GLuint textureUnit = samplerBinding.boundTextureUnits[arrayElement]; 1314 uint32_t samplerSlot = mslBinding.samplerBinding + arrayElement; 1322 if (samplerBinding.format == gl::SamplerFormat::Shadow)
|
D | mtl_glslang_utils.mm | 242 actualBinding.samplerBinding = currentSamplerSlot; 475 const gl::SamplerBinding &samplerBinding = samplerBindings[textureIndex]; 480 {textureIndex, static_cast<uint32_t>(samplerBinding.boundTextureUnits.size())});
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ProgramExecutableVk.cpp | 685 const gl::SamplerBinding &samplerBinding = samplerBindings[textureIndex]; in addTextureDescriptorSetDesc() local 693 uint32_t arraySize = static_cast<uint32_t>(samplerBinding.boundTextureUnits.size()); in addTextureDescriptorSetDesc() 725 GLuint textureUnit = samplerBinding.boundTextureUnits[0]; in addTextureDescriptorSetDesc() 729 ASSERT(samplerBinding.boundTextureUnits.size() == 1); in addTextureDescriptorSetDesc() 773 samplerBinding.textureType == gl::TextureType::Buffer in addTextureDescriptorSetDesc() 1752 const gl::SamplerBinding &samplerBinding = in updateTexturesDescriptorSet() local 1791 uint32_t arraySize = static_cast<uint32_t>(samplerBinding.boundTextureUnits.size()); in updateTexturesDescriptorSet() 1801 if (samplerBinding.textureType == gl::TextureType::Buffer) in updateTexturesDescriptorSet() 1805 GLuint textureUnit = samplerBinding.boundTextureUnits[arrayElement]; in updateTexturesDescriptorSet() 1829 GLuint textureUnit = samplerBinding.boundTextureUnits[arrayElement]; in updateTexturesDescriptorSet()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Program.cpp | 1594 for (SamplerBinding &samplerBinding : mSamplerBindings) in updateActiveSamplers() 1596 if (samplerBinding.unreferenced) in updateActiveSamplers() 1599 for (GLint textureUnit : samplerBinding.boundTextureUnits) in updateActiveSamplers() 1603 mActiveSamplerTypes[textureUnit] = samplerBinding.textureType; in updateActiveSamplers() 1604 mActiveSamplerFormats[textureUnit] = samplerBinding.format; in updateActiveSamplers() 1608 if (mActiveSamplerTypes[textureUnit] != samplerBinding.textureType) in updateActiveSamplers() 1612 if (mActiveSamplerFormats[textureUnit] != samplerBinding.format) in updateActiveSamplers() 4319 SamplerBinding &samplerBinding = mState.mSamplerBindings[samplerIndex]; in updateSamplerUniform() local 4320 std::vector<GLuint> &boundTextureUnits = samplerBinding.boundTextureUnits; in updateSamplerUniform() 4322 if (samplerBinding.unreferenced) in updateSamplerUniform() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | ProgramVk.cpp | 572 const gl::SamplerBinding &samplerBinding = mState.getSamplerBindings()[textureIndex]; in linkImpl() local 578 const uint32_t arraySize = static_cast<uint32_t>(samplerBinding.boundTextureUnits.size()); in linkImpl() 1452 const gl::SamplerBinding &samplerBinding = mState.getSamplerBindings()[textureIndex]; in updateTexturesDescriptorSet() local 1454 ASSERT(!samplerBinding.unreferenced); in updateTexturesDescriptorSet() 1456 for (uint32_t arrayElement = 0; arrayElement < samplerBinding.boundTextureUnits.size(); in updateTexturesDescriptorSet() 1459 GLuint textureUnit = samplerBinding.boundTextureUnits[arrayElement]; in updateTexturesDescriptorSet()
|
/third_party/skia/third_party/externals/angle2/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()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/ |
D | vktBindingDescriptorBufferTests.cpp | 1152 const auto& samplerBinding = simpleBindings[samplerIndices[index % samplerIndices.size()]]; in glslOutputVerification() local 1157 …const auto samplerBindingArgs = glslFormat(packBindingArgs(samplerBinding.set, samplerBinding.bind… in glslOutputVerification() 1162 << glslResourceName(samplerBinding.set, samplerBinding.binding) << ")"; in glslOutputVerification() 1203 const auto& samplerBinding = simpleBindings[imageIndex - firstImageIndex]; in glslOutputVerification() local 1204 …const auto samplerBindingArgs = glslFormat(packBindingArgs(samplerBinding.set, samplerBinding.bind… in glslOutputVerification() 1209 << glslResourceName(samplerBinding.set, samplerBinding.binding) << ")"; in glslOutputVerification()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingDescriptorBufferTests.cpp | 1152 const auto& samplerBinding = simpleBindings[samplerIndices[index % samplerIndices.size()]]; in glslOutputVerification() local 1157 …const auto samplerBindingArgs = glslFormat(packBindingArgs(samplerBinding.set, samplerBinding.bind… in glslOutputVerification() 1162 << glslResourceName(samplerBinding.set, samplerBinding.binding) << ")"; in glslOutputVerification() 1203 const auto& samplerBinding = simpleBindings[imageIndex - firstImageIndex]; in glslOutputVerification() local 1204 …const auto samplerBindingArgs = glslFormat(packBindingArgs(samplerBinding.set, samplerBinding.bind… in glslOutputVerification() 1209 << glslResourceName(samplerBinding.set, samplerBinding.binding) << ")"; in glslOutputVerification()
|
/third_party/skia/third_party/externals/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()
|