Home
last modified time | relevance | path

Searched refs:imageBinding (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgramExecutable.cpp475 ImageBinding imageBinding(elementCount, textureType); in load() local
478 imageBinding.boundImageUnits[elementIndex] = stream->readInt<unsigned int>(); in load()
480 mImageBindings.emplace_back(imageBinding); in load()
658 for (const auto &imageBinding : getImageBindings()) in save() local
660 stream->writeInt(imageBinding.boundImageUnits.size()); in save()
661 stream->writeInt(static_cast<unsigned int>(imageBinding.textureType)); in save()
662 for (size_t i = 0; i < imageBinding.boundImageUnits.size(); ++i) in save()
664 stream->writeInt(imageBinding.boundImageUnits[i]); in save()
821 const gl::ImageBinding &imageBinding = imageBindings.at(imageIndex); in updateActiveImages() local
826 for (GLint imageUnit : imageBinding.boundImageUnits) in updateActiveImages()
DProgramPipeline.cpp307 for (const ImageBinding &imageBinding : shaderProgram->getState().getImageBindings()) in updateImageBindings() local
309 mState.mExecutable->mImageBindings.emplace_back(imageBinding); in updateImageBindings()
DContext.cpp2940 for (auto &imageBinding : mImageObserverBindings) in detachTexture() local
2942 if (imageBinding.getSubject() == tex) in detachTexture()
2944 imageBinding.reset(); in detachTexture()
9729 for (const ImageBinding &imageBinding : executable->getImageBindings()) in updateActiveImageUnitIndices() local
9731 for (GLuint binding : imageBinding.boundImageUnits) in updateActiveImageUnitIndices()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp591 const gl::ImageBinding &imageBinding = imageBindings[imageIndex]; in addImageDescriptorSetDesc() local
598 uint32_t arraySize = static_cast<uint32_t>(imageBinding.boundImageUnits.size()); in addImageDescriptorSetDesc()
629 const VkDescriptorType descType = imageBinding.textureType == gl::TextureType::Buffer in addImageDescriptorSetDesc()
1433 const gl::ImageBinding &imageBinding = imageBindings[imageIndex]; in updateImagesDescriptorSet() local
1450 uint32_t arraySize = static_cast<uint32_t>(imageBinding.boundImageUnits.size()); in updateImagesDescriptorSet()
1458 if (imageBinding.textureType == gl::TextureType::Buffer) in updateImagesDescriptorSet()
1479 GLuint imageUnit = imageBinding.boundImageUnits[arrayElement]; in updateImagesDescriptorSet()
1510 GLuint imageUnit = imageBinding.boundImageUnits[arrayElement]; in updateImagesDescriptorSet()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingDescriptorBufferTests.cpp1153 const auto& imageBinding = simpleBindings[imageIndices[index % imageIndices.size()]]; in glslOutputVerification() local
1155 …to expectedData = glslFormat(getExpectedData(params.hash, imageBinding.set, imageBinding.bindin… in glslOutputVerification()
1156 …const auto imageBindingArgs = glslFormat(packBindingArgs(imageBinding.set, imageBinding.binding,… in glslOutputVerification()
1161 << glslResourceName(imageBinding.set, imageBinding.binding) << ", " in glslOutputVerification()
1197 const auto& imageBinding = simpleBindings[imageIndex]; in glslOutputVerification() local
1198 …auto expectedData = glslFormat(getExpectedData(params.hash, imageBinding.set, imageBinding.bindin… in glslOutputVerification()
1199 const auto bindingArgs = glslFormat(packBindingArgs(imageBinding.set, imageBinding.binding, 0)); in glslOutputVerification()
1201 DE_ASSERT(imageBinding.type == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE); in glslOutputVerification()
1208 << glslResourceName(imageBinding.set, imageBinding.binding) << ", " in glslOutputVerification()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingDescriptorBufferTests.cpp1153 const auto& imageBinding = simpleBindings[imageIndices[index % imageIndices.size()]]; in glslOutputVerification() local
1155 …to expectedData = glslFormat(getExpectedData(params.hash, imageBinding.set, imageBinding.bindin… in glslOutputVerification()
1156 …const auto imageBindingArgs = glslFormat(packBindingArgs(imageBinding.set, imageBinding.binding,… in glslOutputVerification()
1161 << glslResourceName(imageBinding.set, imageBinding.binding) << ", " in glslOutputVerification()
1197 const auto& imageBinding = simpleBindings[imageIndex]; in glslOutputVerification() local
1198 …auto expectedData = glslFormat(getExpectedData(params.hash, imageBinding.set, imageBinding.bindin… in glslOutputVerification()
1199 const auto bindingArgs = glslFormat(packBindingArgs(imageBinding.set, imageBinding.binding, 0)); in glslOutputVerification()
1201 DE_ASSERT(imageBinding.type == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE); in glslOutputVerification()
1208 << glslResourceName(imageBinding.set, imageBinding.binding) << ", " in glslOutputVerification()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DProgramGL.cpp1101 gl::ImageBinding &imageBinding = (*imageBindings)[imageIndex]; in markUnusedUniformLocations() local
1102 if (locationRef.arrayIndex < imageBinding.boundImageUnits.size()) in markUnusedUniformLocations()
1105 imageBinding.boundImageUnits.resize(locationRef.arrayIndex); in markUnusedUniformLocations()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DProgram.cpp1624 for (ImageBinding &imageBinding : mImageBindings) in updateActiveImages()
1626 if (imageBinding.unreferenced) in updateActiveImages()
1629 for (GLint imageUnit : imageBinding.boundImageUnits) in updateActiveImages()
4719 for (const auto &imageBinding : mState.getImageBindings()) in serialize() local
4721 stream.writeInt(imageBinding.boundImageUnits.size()); in serialize()
4722 for (size_t i = 0; i < imageBinding.boundImageUnits.size(); ++i) in serialize()
4724 stream.writeInt(imageBinding.boundImageUnits[i]); in serialize()
4961 ImageBinding imageBinding(elementCount); in deserialize() local
4964 imageBinding.boundImageUnits[i] = stream.readInt<unsigned int>(); in deserialize()
4966 mState.mImageBindings.emplace_back(imageBinding); in deserialize()