Home
last modified time | relevance | path

Searched refs:VK_COMPONENT_SWIZZLE_R (Results 1 – 25 of 156) sorted by relevance

1234567

/third_party/mesa3d/src/amd/vulkan/
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/
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_COMPONE… in populateTextureSwizzleTests()
453 …{ "rgba", {VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONE… in populateTextureSwizzleTests()
455 …PONENT_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/
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_COMPONE… in populateTextureSwizzleTests()
453 …{ "rgba", {VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONE… in populateTextureSwizzleTests()
455 …PONENT_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/
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, V… in Identifier()
DVkSampler.cpp44 swappedChroma = (ycbcrConversion->components.r != VK_COMPONENT_SWIZZLE_R); in SamplerState()
DVkSampler.hpp99 …const VkComponentMapping components = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONE…
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_conv.h227 case VK_COMPONENT_SWIZZLE_R: in vk_conv_swizzle()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
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_C… in getComponentMapping()
921 …{ VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SW…
924 …{ VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZL…
925 …{ VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZL…
926 …{ VK_COMPONENT_SWIZZLE_ONE, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZ…
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,… in genMappingPermutations()
DvktPipelineImageSamplingInstance.cpp388 …const VkComponentMapping componentMappingRGBA = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_… in setup()
420 …ponentMapping.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()
DvktPipelineImageViewTests.cpp370 …const VkComponentMapping componentMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_… in createSubresourceRangeTests()
662 …const VkComponentMapping baseMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_C… in createComponentSwizzleTests()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
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_C… in getComponentMapping()
921 …{ VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SWIZZLE_ZERO, VK_COMPONENT_SW…
924 …{ VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZL…
925 …{ VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZL…
926 …{ VK_COMPONENT_SWIZZLE_ONE, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZ…
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,… in genMappingPermutations()
DvktPipelineImageSamplingInstance.cpp388 …const VkComponentMapping componentMappingRGBA = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_… in setup()
420 …ponentMapping.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()
DvktPipelineImageViewTests.cpp370 …const VkComponentMapping componentMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_… in createSubresourceRangeTests()
662 …const VkComponentMapping baseMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_C… in createComponentSwizzleTests()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
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/imagination/vulkan/
Dpvr_tex_state.c99 pvr_get_hw_swizzle(VK_COMPONENT_SWIZZLE_R, info->swizzle[0]); in pvr_pack_tex_state()
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/api/
DvktApiSmokeTests.cpp418 VK_COMPONENT_SWIZZLE_R, in renderTriangleTest()
726 VK_COMPONENT_SWIZZLE_R, in renderTriangleUnusedResolveAttachmentTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp418 VK_COMPONENT_SWIZZLE_R, in renderTriangleTest()
726 VK_COMPONENT_SWIZZLE_R, in renderTriangleUnusedResolveAttachmentTest()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkTypeUtil.hpp96 return makeComponentMapping(VK_COMPONENT_SWIZZLE_R, in makeComponentMappingRGBA()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_image.c72 case VK_COMPONENT_SWIZZLE_R: in panvk_convert_swizzle()
/third_party/mesa3d/src/vulkan/util/
Dvk_format.c400 case VK_COMPONENT_SWIZZLE_R: in vk_component_mapping_to_pipe_swizzle()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dtransfer_image.cc202 VK_COMPONENT_SWIZZLE_R, in CreateVkImageView()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkutils.c417 VK_COMPONENT_SWIZZLE_R, in fill_vulkan_image_view_info()

1234567