/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureSwizzleTests.cpp | 53 (mapping.a == VK_COMPONENT_SWIZZLE_A || mapping.a == VK_COMPONENT_SWIZZLE_IDENTITY)) in isDefaultComponentMapping() 266 case VK_COMPONENT_SWIZZLE_A: in iterate() 452 { "aaaa", {VK_COMPONENT_SWIZZLE_A, VK_COMPONENT_SWIZZLE_A, VK_COMPONENT_SWIZZLE_A, VK_COMPONENT_SWIZZLE_A} }, 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/mesa3d/src/amd/vulkan/ |
H A D | vk_format.h | 59 case VK_COMPONENT_SWIZZLE_A: in radv_swizzle_conv() 73 dst[3] = radv_swizzle_conv(VK_COMPONENT_SWIZZLE_A, swz, mapping->a); in vk_format_compose_swizzles()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureSwizzleTests.cpp | 53 (mapping.a == VK_COMPONENT_SWIZZLE_A || mapping.a == VK_COMPONENT_SWIZZLE_IDENTITY)) in isDefaultComponentMapping() 294 case VK_COMPONENT_SWIZZLE_A: in iterate() 506 { "aaaa", {VK_COMPONENT_SWIZZLE_A, VK_COMPONENT_SWIZZLE_A, VK_COMPONENT_SWIZZLE_A, VK_COMPONENT_SWIZZLE_A} }, 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/mesa3d/src/imagination/vulkan/ |
H A D | pvr_tex_state.c | 56 if (comp == VK_COMPONENT_SWIZZLE_A) in pvr_get_hw_swizzle() 105 pvr_get_hw_swizzle(VK_COMPONENT_SWIZZLE_A, info->swizzle[3]); in pvr_pack_tex_state()
|
H A D | pvr_job_common.c | 57 if (comp == VK_COMPONENT_SWIZZLE_A) in PVRX() 261 reg.swiz_chan3 = pvr_get_pbe_hw_swizzle(VK_COMPONENT_SWIZZLE_A, in pvr_pbe_pack_state()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkImageView.cpp | 46 (mapping.a == VK_COMPONENT_SWIZZLE_IDENTITY) ? VK_COMPONENT_SWIZZLE_A : mapping.a, in ResolveIdentityMapping() 65 format.componentCount() < 4 ? VK_COMPONENT_SWIZZLE_ONE : VK_COMPONENT_SWIZZLE_A, 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/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineSamplerBorderSwizzleTests.cpp | 68 (mapping.a == VK_COMPONENT_SWIZZLE_A || mapping.a == VK_COMPONENT_SWIZZLE_IDENTITY) in isIdentitySwizzle() 174 // For depth/stencil formats, VK_COMPONENT_SWIZZLE_A is aliased to VK_COMPONENT_SWIZZLE_ONE within this test group. in checkSupport() 176 (m_params.componentMapping.r == VK_COMPONENT_SWIZZLE_ONE) || (m_params.componentMapping.r == VK_COMPONENT_SWIZZLE_A) || in checkSupport() 177 (m_params.componentMapping.g == VK_COMPONENT_SWIZZLE_ONE) || (m_params.componentMapping.g == VK_COMPONENT_SWIZZLE_A) || in checkSupport() 178 (m_params.componentMapping.b == VK_COMPONENT_SWIZZLE_ONE) || (m_params.componentMapping.b == VK_COMPONENT_SWIZZLE_A) || in checkSupport() 179 (m_params.componentMapping.a == VK_COMPONENT_SWIZZLE_ONE) || (m_params.componentMapping.a == VK_COMPONENT_SWIZZLE_A) in checkSupport() 360 DE_ASSERT(cs >= VK_COMPONENT_SWIZZLE_IDENTITY && cs <= VK_COMPONENT_SWIZZLE_A); in applySwizzle() 1136 case VK_COMPONENT_SWIZZLE_A: stream << "a"; 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()
|
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 | vktPipelineSamplerTests.cpp | 373 componentMapping.a == VK_COMPONENT_SWIZZLE_IDENTITY ? VK_COMPONENT_SWIZZLE_A : componentMapping.a in swizzle() 533 const VkComponentMapping componentMapping = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in getComponentMapping() 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 }, 2067 VK_COMPONENT_SWIZZLE_A, in iterate()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_conv.h | 233 case VK_COMPONENT_SWIZZLE_A: in vk_conv_swizzle()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineSamplerBorderSwizzleTests.cpp | 66 (mapping.a == VK_COMPONENT_SWIZZLE_A || mapping.a == VK_COMPONENT_SWIZZLE_IDENTITY) in isIdentitySwizzle() 336 DE_ASSERT(cs >= VK_COMPONENT_SWIZZLE_IDENTITY && cs <= VK_COMPONENT_SWIZZLE_A); in applySwizzle() 1017 case VK_COMPONENT_SWIZZLE_A: stream << "a"; 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 | 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/mesa3d/src/vulkan/util/ |
H A D | vk_format.c | 409 case VK_COMPONENT_SWIZZLE_A: in vk_component_mapping_to_pipe_swizzle()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
H A D | panvk_vX_image.c | 81 case VK_COMPONENT_SWIZZLE_A: in panvk_convert_swizzle()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkTypeUtil.hpp | 99 VK_COMPONENT_SWIZZLE_A); in makeComponentMappingRGBA()
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
H A D | transfer_image.cc | 205 VK_COMPONENT_SWIZZLE_A, in CreateVkImageView()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiSmokeTests.cpp | 421 VK_COMPONENT_SWIZZLE_A in renderTriangleTest() 729 VK_COMPONENT_SWIZZLE_A in renderTriangleUnusedResolveAttachmentTest()
|
H A D | vktApiGetMemoryCommitment.cpp | 119 const VkComponentMapping componentMappingRGBA = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiSmokeTests.cpp | 421 VK_COMPONENT_SWIZZLE_A in renderTriangleTest() 729 VK_COMPONENT_SWIZZLE_A in renderTriangleUnusedResolveAttachmentTest()
|
H A D | vktApiGetMemoryCommitment.cpp | 120 const VkComponentMapping componentMappingRGBA = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in iterate()
|
H A D | vktApiGranularityTests.cpp | 225 VK_COMPONENT_SWIZZLE_A in initImages()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_nir_lower_ycbcr_textures.c | 312 [VK_COMPONENT_SWIZZLE_A] = 3, in anv_nir_lower_ycbcr_textures_instr()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_context.h | 539 case PIPE_SWIZZLE_W: return VK_COMPONENT_SWIZZLE_A; in zink_component_mapping()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
H A D | vktRobustnessUtil.cpp | 348 const VkComponentMapping componentMappingRGBA = { VK_COMPONENT_SWIZZLE_R, VK_COMPONENT_SWIZZLE_G, VK_COMPONENT_SWIZZLE_B, VK_COMPONENT_SWIZZLE_A }; in GraphicsEnvironment()
|