Searched refs:texelSize (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/src/Pipeline/ |
D | SpirvShaderImage.cpp | 495 …const &coordinate, Type const &imageType, Pointer<Byte> descriptor, int texelSize, Object::ID samp… in GetTexelAddress() argument 528 SIMD::Int ptrOffset = u * SIMD::Int(texelSize); in GetTexelAddress() 678 auto texelSize = vk::Format(vkFormat).bytes(); in EmitImageRead() local 679 …ess(state, imageBase, imageSizeInBytes, coordinate, imageType, binding, texelSize, sampleId, useSt… in EmitImageRead() 684 if(texelSize == 4 || texelSize == 8 || texelSize == 16) in EmitImageRead() 686 for(auto i = 0; i < texelSize / 4; i++) in EmitImageRead() 692 else if(texelSize == 2) in EmitImageRead() 705 else if(texelSize == 1) in EmitImageRead() 719 UNREACHABLE("texelSize: %d", int(texelSize)); in EmitImageRead() 1052 int texelSize = 0; in EmitImageWrite() local [all …]
|
D | SpirvShader.hpp | 1232 …const &coordinate, Type const &imageType, Pointer<Byte> descriptor, int texelSize, Object::ID samp…
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | vk_format_utils.cpp | 218 const size_t texelSize = format.pixelBytes; in getImageCopyBufferAlignment() local 219 const size_t multiplier = texelSize % 2 != 0 ? 4 : texelSize % 4 != 0 ? 2 : 1; in getImageCopyBufferAlignment() 220 const size_t alignment = multiplier * texelSize; in getImageCopyBufferAlignment()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_texture.c | 219 GLint stride, texelSize; in _swrast_map_teximage() local 233 texelSize = _mesa_get_format_bytes(texImage->TexFormat); in _swrast_map_teximage() 249 map += stride * (y / bh) + texelSize * (x / bw); in _swrast_map_teximage()
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessBufferAccessTests.cpp | 432 const deUint32 texelSize = mapVkFormat(bufferFormat).getPixelSize(); in genTexelBufferShaderAccess() local 474 bufferUse << " for (int i = 0; i < " << (s_numberOfBytesAccessed / texelSize) << "; i++)\n" in genTexelBufferShaderAccess()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 1878 const int texelSize = src.getFormat().getPixelSize(); in copyRegionToTextureLevel() local 1881 const int texelOffset = (int) region.bufferImageCopy.bufferOffset / texelSize; in copyRegionToTextureLevel() 2111 const int texelSize = dst.getFormat().getPixelSize(); in copyRegionToTextureLevel() local 2114 const int texelOffset = (int) region.bufferImageCopy.bufferOffset / texelSize; in copyRegionToTextureLevel() 2160 const int texelSize = dst.getFormat().getPixelSize(); in copyRegionToTextureLevel() local 2163 const int texelOffset = (int)region.bufferImageCopy.bufferOffset / texelSize; in copyRegionToTextureLevel() 2214 glw::GLuint texelSize = m_textureFormat.getPixelSize(); in CopyBufferToDepthStencil() local 2215 if (texelSize > sizeof(float)) in CopyBufferToDepthStencil() 2219 texelSize = sizeof(float); in CopyBufferToDepthStencil() 2221 …static_cast<VkDeviceSize>(m_params.dst.image.extent.height) * static_cast<VkDeviceSize>(texelSize); in CopyBufferToDepthStencil()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageLoadStoreTests.cpp | 739 …VkDeviceSize texelSize = formatHasThreeComponents(format) ? tcu::getChannelSize(vk::mapVkFormat(fo… in getViewOffset() local 742 align = de::min(align, texelSize); in getViewOffset()
|