Home
last modified time | relevance | path

Searched refs:VK_COMPONENT_SWIZZLE_R (Results 1 - 25 of 139) sorted by relevance

123456

/third_party/mesa3d/src/amd/vulkan/
H A Dvk_format.h56 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 DvktTextureSwizzleTests.cpp50 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 DvktTextureSwizzleTests.cpp50 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 DVkSampler.cpp44 swappedChroma = (ycbcrConversion->components.r != VK_COMPONENT_SWIZZLE_R); in SamplerState()
H A DVkImageView.cpp43 (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 DVkSampler.hpp99 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 Dlvp_conv.h227 case VK_COMPONENT_SWIZZLE_R: in vk_conv_swizzle()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSamplerTests.cpp370 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 DvktPipelineImageSamplingInstance.cpp390 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 DvktPipelineImageViewTests.cpp376 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 DvktPipelineSamplerBorderSwizzleTests.cpp65 (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 Dpvr_tex_state.c99 pvr_get_hw_swizzle(VK_COMPONENT_SWIZZLE_R, info->swizzle[0]); in pvr_pack_tex_state()
H A Dpvr_job_common.c255 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 DvktPipelineSamplerTests.cpp371 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 DvktPipelineSamplerBorderSwizzleTests.cpp63 (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 DvktPipelineImageSamplingInstance.cpp388 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 DvktPipelineImageViewTests.cpp370 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 DSamplerCore.cpp190 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 Dvk_format.c400 case VK_COMPONENT_SWIZZLE_R: in vk_component_mapping_to_pipe_swizzle()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_image.c72 case VK_COMPONENT_SWIZZLE_R: in panvk_convert_swizzle()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkTypeUtil.hpp96 return makeComponentMapping(VK_COMPONENT_SWIZZLE_R, in makeComponentMappingRGBA()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dtransfer_image.cc202 VK_COMPONENT_SWIZZLE_R, in CreateVkImageView()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
H A DvktApiSmokeTests.cpp418 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 DvktApiSmokeTests.cpp418 VK_COMPONENT_SWIZZLE_R, in renderTriangleTest()
726 VK_COMPONENT_SWIZZLE_R, in renderTriangleUnusedResolveAttachmentTest()
/third_party/mesa3d/src/intel/vulkan/
H A Danv_nir_lower_ycbcr_textures.c309 [VK_COMPONENT_SWIZZLE_R] = 0, in anv_nir_lower_ycbcr_textures_instr()

Completed in 32 milliseconds

123456