/third_party/mesa3d/src/amd/vulkan/ |
H A D | vk_format.h | 56 case VK_COMPONENT_SWIZZLE_R: in radv_swizzle_conv() 60 return (enum pipe_swizzle)chan[vk_swiz - VK_COMPONENT_SWIZZLE_R]; in radv_swizzle_conv() 70 dst[0] = radv_swizzle_conv(VK_COMPONENT_SWIZZLE_R, swz, mapping->r); in vk_format_compose_swizzles()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureSwizzleTests.cpp | 50 if ((mapping.r == VK_COMPONENT_SWIZZLE_R || mapping.r == VK_COMPONENT_SWIZZLE_IDENTITY) && in isDefaultComponentMapping() 257 case VK_COMPONENT_SWIZZLE_R: in iterate() 449 { "rrrr", {VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R} }, in populateTextureSwizzleTests() 453 { "rgba", {VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A} }, in populateTextureSwizzleTests() 455 { "abgr", {VK_COMPONENT_SWIZZLE_A, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_R} }, in populateTextureSwizzleTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureSwizzleTests.cpp | 50 if ((mapping.r == VK_COMPONENT_SWIZZLE_R || mapping.r == VK_COMPONENT_SWIZZLE_IDENTITY) && in isDefaultComponentMapping() 285 case VK_COMPONENT_SWIZZLE_R: in iterate() 503 { "rrrr", {VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R} }, in populateTextureSwizzleTests() 507 { "rgba", {VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A} }, in populateTextureSwizzleTests() 509 { "abgr", {VK_COMPONENT_SWIZZLE_A, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_R} }, in populateTextureSwizzleTests()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkSampler.cpp | 44 swappedChroma = (ycbcrConversion->components.r != VK_COMPONENT_SWIZZLE_R); in SamplerState()
|
H A D | VkImageView.cpp | 43 (mapping.r == VK_COMPONENT_SWIZZLE_IDENTITY) ? VK_COMPONENT_SWIZZLE_R : mapping.r, in ResolveIdentityMapping() 62 VK_COMPONENT_SWIZZLE_R, in ResolveComponentMapping() 96 constexpr VkComponentMapping identityMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in Identifier()
|
H A D | VkSampler.hpp | 99 const VkComponentMapping components = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A };
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_conv.h | 227 case VK_COMPONENT_SWIZZLE_R: in vk_conv_swizzle()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineSamplerTests.cpp | 370 componentMapping.r == VK_COMPONENT_SWIZZLE_IDENTITY ? VK_COMPONENT_SWIZZLE_R : componentMapping.r, in swizzle() 533 const VkComponentMapping componentMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in getComponentMapping() 919 { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ZERO }, 922 { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }, 923 { VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_A }, 924 { VK_COMPONENT_SWIZZLE_ONE, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R }, 2064 VK_COMPONENT_SWIZZLE_R, in iterate()
|
H A D | vktPipelineImageSamplingInstance.cpp | 390 const VkComponentMapping componentMappingRGBA = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in setup() 422 if (m_componentMapping.r != VK_COMPONENT_SWIZZLE_IDENTITY && m_componentMapping.r != VK_COMPONENT_SWIZZLE_R) in setup() 1031 return vec[comp - vk::VK_COMPONENT_SWIZZLE_R]; in getSwizzledComp() 1057 swz.r == VK_COMPONENT_SWIZZLE_IDENTITY ? VK_COMPONENT_SWIZZLE_R : swz.r, in swizzleScaleBias() 1114 return (swz.r == vk::VK_COMPONENT_SWIZZLE_IDENTITY || swz.r == vk::VK_COMPONENT_SWIZZLE_R) && in isIdentitySwizzle()
|
H A D | vktPipelineImageViewTests.cpp | 376 const VkComponentMapping componentMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in createSubresourceRangeTests() 666 const VkComponentMapping baseMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in createComponentSwizzleTests()
|
H A D | vktPipelineSamplerBorderSwizzleTests.cpp | 65 (mapping.r == VK_COMPONENT_SWIZZLE_R || mapping.r == VK_COMPONENT_SWIZZLE_IDENTITY) && in isIdentitySwizzle() 369 result[i] = orig[cs - VK_COMPONENT_SWIZZLE_R]; in applySwizzle() 1133 case VK_COMPONENT_SWIZZLE_R: stream << "r"; break; in swizzleArrayToString() 1150 const ComponentSwizzleArray standardSwizzle = {{ VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }}; in genMappingPermutations()
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_tex_state.c | 99 pvr_get_hw_swizzle(VK_COMPONENT_SWIZZLE_R, info->swizzle[0]); in pvr_pack_tex_state()
|
H A D | pvr_job_common.c | 255 reg.swiz_chan0 = pvr_get_pbe_hw_swizzle(VK_COMPONENT_SWIZZLE_R, in pvr_pbe_pack_state()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineSamplerTests.cpp | 371 componentMapping.r == VK_COMPONENT_SWIZZLE_IDENTITY ? VK_COMPONENT_SWIZZLE_R : componentMapping.r, in swizzle() 534 const VkComponentMapping componentMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in getComponentMapping() 921 { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ZERO }, 924 { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }, 925 { VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_A }, 926 { VK_COMPONENT_SWIZZLE_ONE, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R },
|
H A D | vktPipelineSamplerBorderSwizzleTests.cpp | 63 (mapping.r == VK_COMPONENT_SWIZZLE_R || mapping.r == VK_COMPONENT_SWIZZLE_IDENTITY) && in isIdentitySwizzle() 345 result[i] = orig[cs - VK_COMPONENT_SWIZZLE_R]; in applySwizzle() 1014 case VK_COMPONENT_SWIZZLE_R: stream << "r"; break; in swizzleArrayToString() 1031 const ComponentSwizzleArray standardSwizzle = {{ VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }}; in genMappingPermutations()
|
H A D | vktPipelineImageSamplingInstance.cpp | 388 const VkComponentMapping componentMappingRGBA = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in setup() 420 if (m_componentMapping.r != VK_COMPONENT_SWIZZLE_IDENTITY && m_componentMapping.r != VK_COMPONENT_SWIZZLE_R) in setup() 1025 return vec[comp - vk::VK_COMPONENT_SWIZZLE_R]; in getSwizzledComp() 1051 swz.r == VK_COMPONENT_SWIZZLE_IDENTITY ? VK_COMPONENT_SWIZZLE_R : swz.r, in swizzleScaleBias() 1108 return (swz.r == vk::VK_COMPONENT_SWIZZLE_IDENTITY || swz.r == vk::VK_COMPONENT_SWIZZLE_R) && in isIdentitySwizzle()
|
H A D | vktPipelineImageViewTests.cpp | 370 const VkComponentMapping componentMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in createSubresourceRangeTests() 662 const VkComponentMapping baseMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in createComponentSwizzleTests()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SamplerCore.cpp | 190 if((state.swizzle.r != VK_COMPONENT_SWIZZLE_R) || in sampleTexture() 229 case VK_COMPONENT_SWIZZLE_R: return c.x; in applySwizzle() 640 c.x = c01[swizzle - VK_COMPONENT_SWIZZLE_R]; in sampleQuad2D() 641 c.y = c11[swizzle - VK_COMPONENT_SWIZZLE_R]; in sampleQuad2D() 642 c.z = c10[swizzle - VK_COMPONENT_SWIZZLE_R]; in sampleQuad2D() 643 c.w = c00[swizzle - VK_COMPONENT_SWIZZLE_R]; in sampleQuad2D() 977 c.x = c01[swizzle - VK_COMPONENT_SWIZZLE_R]; in sampleFloat2D() 978 c.y = c11[swizzle - VK_COMPONENT_SWIZZLE_R]; in sampleFloat2D() 979 c.z = c10[swizzle - VK_COMPONENT_SWIZZLE_R]; in sampleFloat2D() 980 c.w = c00[swizzle - VK_COMPONENT_SWIZZLE_R]; in sampleFloat2D() [all...] |
/third_party/mesa3d/src/vulkan/util/ |
H A D | vk_format.c | 400 case VK_COMPONENT_SWIZZLE_R: in vk_component_mapping_to_pipe_swizzle()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_image.c | 72 case VK_COMPONENT_SWIZZLE_R: in panvk_convert_swizzle()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkTypeUtil.hpp | 96 return makeComponentMapping(VK_COMPONENT_SWIZZLE_R, in makeComponentMappingRGBA()
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
H A D | transfer_image.cc | 202 VK_COMPONENT_SWIZZLE_R, in CreateVkImageView()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiSmokeTests.cpp | 418 VK_COMPONENT_SWIZZLE_R, in renderTriangleTest() 726 VK_COMPONENT_SWIZZLE_R, in renderTriangleUnusedResolveAttachmentTest()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiSmokeTests.cpp | 418 VK_COMPONENT_SWIZZLE_R, in renderTriangleTest() 726 VK_COMPONENT_SWIZZLE_R, in renderTriangleUnusedResolveAttachmentTest()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_nir_lower_ycbcr_textures.c | 309 [VK_COMPONENT_SWIZZLE_R] = 0, in anv_nir_lower_ycbcr_textures_instr()
|