/third_party/skia/third_party/externals/dawn/src/utils/ |
H A D | TextureUtils.cpp | 18 bool TextureFormatSupportsStorageTexture(wgpu::TextureFormat format) { in TextureFormatSupportsStorageTexture() 20 case wgpu::TextureFormat::R32Uint: in TextureFormatSupportsStorageTexture() 21 case wgpu::TextureFormat::R32Sint: in TextureFormatSupportsStorageTexture() 22 case wgpu::TextureFormat::R32Float: in TextureFormatSupportsStorageTexture() 23 case wgpu::TextureFormat::RGBA8Unorm: in TextureFormatSupportsStorageTexture() 24 case wgpu::TextureFormat::RGBA8Snorm: in TextureFormatSupportsStorageTexture() 25 case wgpu::TextureFormat::RGBA8Uint: in TextureFormatSupportsStorageTexture() 26 case wgpu::TextureFormat::RGBA8Sint: in TextureFormatSupportsStorageTexture() 27 case wgpu::TextureFormat::RG32Uint: in TextureFormatSupportsStorageTexture() 28 case wgpu::TextureFormat in TextureFormatSupportsStorageTexture() [all...] |
H A D | TextureUtils.h | 26 static constexpr std::array<wgpu::TextureFormat, 94> kAllTextureFormats = { 27 wgpu::TextureFormat::R8Unorm, 28 wgpu::TextureFormat::R8Snorm, 29 wgpu::TextureFormat::R8Uint, 30 wgpu::TextureFormat::R8Sint, 31 wgpu::TextureFormat::R16Uint, 32 wgpu::TextureFormat::R16Sint, 33 wgpu::TextureFormat::R16Float, 34 wgpu::TextureFormat::RG8Unorm, 35 wgpu::TextureFormat [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureUtil.cpp | 38 * \brief Map tcu::TextureFormat to GL pixel transfer format. 46 TransferFormat getTransferFormat (tcu::TextureFormat texFormat) in getTransferFormat() 48 using tcu::TextureFormat; in getTransferFormat() 56 case TextureFormat::SIGNED_INT8: in getTransferFormat() 57 case TextureFormat::SIGNED_INT16: in getTransferFormat() 58 case TextureFormat::SIGNED_INT32: in getTransferFormat() 59 case TextureFormat::UNSIGNED_INT8: in getTransferFormat() 60 case TextureFormat::UNSIGNED_INT16: in getTransferFormat() 61 case TextureFormat::UNSIGNED_INT32: in getTransferFormat() 62 case TextureFormat in getTransferFormat() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativeShaderImageLoadStoreTests.cpp | 85 std::string getShaderImageLayoutQualifier (const tcu::TextureFormat& format) in getShaderImageLayoutQualifier() 91 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break; in getShaderImageLayoutQualifier() 92 case tcu::TextureFormat::R: qualifier << "r"; break; in getShaderImageLayoutQualifier() 100 case tcu::TextureFormat::FLOAT: qualifier << "32f"; break; in getShaderImageLayoutQualifier() 101 case tcu::TextureFormat::HALF_FLOAT: qualifier << "16f"; break; in getShaderImageLayoutQualifier() 102 case tcu::TextureFormat::UNORM_INT8: qualifier << "8"; break; in getShaderImageLayoutQualifier() 103 case tcu::TextureFormat::SNORM_INT8: qualifier << "8_snorm"; break; in getShaderImageLayoutQualifier() 104 case tcu::TextureFormat::SIGNED_INT32: qualifier << "32i"; break; in getShaderImageLayoutQualifier() 105 case tcu::TextureFormat::SIGNED_INT16: qualifier << "16i"; break; in getShaderImageLayoutQualifier() 106 case tcu::TextureFormat in getShaderImageLayoutQualifier() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | TextureD3D12.cpp | 113 DXGI_FORMAT D3D12TypelessTextureFormat(wgpu::TextureFormat format) { in D3D12TypelessTextureFormat() 115 case wgpu::TextureFormat::R8Unorm: in D3D12TypelessTextureFormat() 116 case wgpu::TextureFormat::R8Snorm: in D3D12TypelessTextureFormat() 117 case wgpu::TextureFormat::R8Uint: in D3D12TypelessTextureFormat() 118 case wgpu::TextureFormat::R8Sint: in D3D12TypelessTextureFormat() 121 case wgpu::TextureFormat::R16Uint: in D3D12TypelessTextureFormat() 122 case wgpu::TextureFormat::R16Sint: in D3D12TypelessTextureFormat() 123 case wgpu::TextureFormat::R16Float: in D3D12TypelessTextureFormat() 124 case wgpu::TextureFormat::Depth16Unorm: in D3D12TypelessTextureFormat() 127 case wgpu::TextureFormat in D3D12TypelessTextureFormat() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | Format.cpp | 127 size_t ComputeFormatIndex(wgpu::TextureFormat format) { 128 // This takes advantage of overflows to make the index of TextureFormat::Undefined outside 130 static_assert(static_cast<uint32_t>(wgpu::TextureFormat::Undefined) - 1 > kKnownFormatCount, 160 auto AddColorFormat = [&AddFormat](wgpu::TextureFormat format, bool renderable, in BuildFormatTable() 199 auto AddDepthFormat = [&AddFormat](wgpu::TextureFormat format, uint32_t byteSize, in BuildFormatTable() 219 auto AddStencilFormat = [&AddFormat](wgpu::TextureFormat format, bool isSupported) { in BuildFormatTable() 238 auto AddCompressedFormat = [&AddFormat](wgpu::TextureFormat format, uint32_t byteSize, in BuildFormatTable() 260 [&AddFormat, &table](wgpu::TextureFormat format, Aspect aspects, in BuildFormatTable() 261 wgpu::TextureFormat firstFormat, wgpu::TextureFormat secondForma in BuildFormatTable() [all...] |
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuTextureUtil.cpp | 102 bool isSRGB (TextureFormat format) 105 DE_STATIC_ASSERT(TextureFormat::CHANNELORDER_LAST == 22); 107 return format.order == TextureFormat::sR || 108 format.order == TextureFormat::sRG || 109 format.order == TextureFormat::sRGB || 110 format.order == TextureFormat::sRGBA || 111 format.order == TextureFormat::sBGR || 112 format.order == TextureFormat::sBGRA; 115 tcu::Vec4 linearToSRGBIfNeeded (const TextureFormat& format, const tcu::Vec4& color) 120 bool isCombinedDepthStencilType (TextureFormat [all...] |
H A D | tcuTexture.cpp | 275 inline float channelToFloat (const deUint8* value, TextureFormat::ChannelType type) in channelToFloat() 278 DE_STATIC_ASSERT(TextureFormat::CHANNELTYPE_LAST == 48); in channelToFloat() 282 case TextureFormat::SNORM_INT8: return de::max(-1.0f, (float)*((const deInt8*)value) / 127.0f); in channelToFloat() 283 case TextureFormat::SNORM_INT16: return de::max(-1.0f, (float)*((const deInt16*)value) / 32767.0f); in channelToFloat() 284 case TextureFormat::SNORM_INT32: return de::max(-1.0f, (float)*((const deInt32*)value) / 2147483647.0f); in channelToFloat() 285 case TextureFormat::UNORM_INT8: return (float)*((const deUint8*)value) / 255.0f; in channelToFloat() 286 case TextureFormat::UNORM_INT16: return (float)*((const deUint16*)value) / 65535.0f; in channelToFloat() 287 case TextureFormat::UNORM_INT24: return (float)readUint24(value) / 16777215.0f; in channelToFloat() 288 case TextureFormat::UNORM_INT32: return (float)*((const deUint32*)value) / 4294967295.0f; in channelToFloat() 289 case TextureFormat in channelToFloat() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageAtomicSpirvShaders.cpp | 6525 CaseVariant::CaseVariant (ImageType imgtype, tcu::TextureFormat::ChannelOrder order, tcu::TextureFormat::ChannelType chtype, CheckType cktype) in CaseVariant() 6536 ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32, CaseVariant::CHECK_TYPE_END_RESULTS}, &kShader_1d_r32ui_end_result}, in getSpirvAtomicOpShader() 6537 ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32, CaseVariant::CHECK_TYPE_INTERMEDIATE_RESULTS}, &kShader_1d_r32ui_intermediate_values}, in getSpirvAtomicOpShader() 6538 ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32, CaseVariant::CHECK_TYPE_END_RESULTS}, &kShader_1d_r32i_end_result}, in getSpirvAtomicOpShader() 6539 ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat in getSpirvAtomicOpShader() [all...] |
H A D | vktImageTestsUtil.cpp | 63 const tcu::TextureFormat& format) in SparseImage() 545 std::string getFormatPrefix (const tcu::TextureFormat& format) in getFormatPrefix() 552 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType, const bool multisample) in getShaderImageType() 589 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format) in getShaderImageFormatQualifier() 598 case tcu::TextureFormat::R: orderPart = "r"; break; in getShaderImageFormatQualifier() 599 case tcu::TextureFormat::RG: orderPart = "rg"; break; in getShaderImageFormatQualifier() 600 case tcu::TextureFormat::RGB: orderPart = "rgb"; break; in getShaderImageFormatQualifier() 601 case tcu::TextureFormat::RGBA: orderPart = "rgba"; break; in getShaderImageFormatQualifier() 602 case tcu::TextureFormat::sRGBA: orderPart = "rgba"; break; in getShaderImageFormatQualifier() 611 case tcu::TextureFormat in getShaderImageFormatQualifier() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageAtomicSpirvShaders.cpp | 6525 CaseVariant::CaseVariant (ImageType imgtype, tcu::TextureFormat::ChannelOrder order, tcu::TextureFormat::ChannelType chtype, CheckType cktype) in CaseVariant() 6536 ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32, CaseVariant::CHECK_TYPE_END_RESULTS}, &kShader_1d_r32ui_end_result}, in getSpirvAtomicOpShader() 6537 ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::UNSIGNED_INT32, CaseVariant::CHECK_TYPE_INTERMEDIATE_RESULTS}, &kShader_1d_r32ui_intermediate_values}, in getSpirvAtomicOpShader() 6538 ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat::SIGNED_INT32, CaseVariant::CHECK_TYPE_END_RESULTS}, &kShader_1d_r32i_end_result}, in getSpirvAtomicOpShader() 6539 ValueType{CaseVariant{IMAGE_TYPE_1D, tcu::TextureFormat::R, tcu::TextureFormat in getSpirvAtomicOpShader() [all...] |
H A D | vktImageTestsUtil.cpp | 63 const tcu::TextureFormat& format) in SparseImage() 545 std::string getFormatPrefix (const tcu::TextureFormat& format) in getFormatPrefix() 552 std::string getShaderImageType (const tcu::TextureFormat& format, const ImageType imageType, const bool multisample) in getShaderImageType() 589 std::string getShaderImageFormatQualifier (const tcu::TextureFormat& format) in getShaderImageFormatQualifier() 598 case tcu::TextureFormat::R: orderPart = "r"; break; in getShaderImageFormatQualifier() 599 case tcu::TextureFormat::RG: orderPart = "rg"; break; in getShaderImageFormatQualifier() 600 case tcu::TextureFormat::RGB: orderPart = "rgb"; break; in getShaderImageFormatQualifier() 601 case tcu::TextureFormat::RGBA: orderPart = "rgba"; break; in getShaderImageFormatQualifier() 602 case tcu::TextureFormat::sRGBA: orderPart = "rgba"; break; in getShaderImageFormatQualifier() 611 case tcu::TextureFormat in getShaderImageFormatQualifier() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | GLFormat.cpp | 24 auto AddFormat = [&table](wgpu::TextureFormat dawnFormat, GLenum internalFormat, in BuildGLFormatTable() 47 AddFormat(wgpu::TextureFormat::R8Unorm, GL_R8, GL_RED, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable() 48 AddFormat(wgpu::TextureFormat::R8Snorm, GL_R8_SNORM, GL_RED, GL_BYTE, Type::Float); in BuildGLFormatTable() 49 AddFormat(wgpu::TextureFormat::R8Uint, GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE, Type::Uint); in BuildGLFormatTable() 50 AddFormat(wgpu::TextureFormat::R8Sint, GL_R8I, GL_RED_INTEGER, GL_BYTE, Type::Int); in BuildGLFormatTable() 53 AddFormat(wgpu::TextureFormat::R16Uint, GL_R16UI, GL_RED_INTEGER, GL_UNSIGNED_SHORT, Type::Uint); in BuildGLFormatTable() 54 AddFormat(wgpu::TextureFormat::R16Sint, GL_R16I, GL_RED_INTEGER, GL_SHORT, Type::Int); in BuildGLFormatTable() 55 AddFormat(wgpu::TextureFormat::R16Float, GL_R16F, GL_RED, GL_HALF_FLOAT, Type::Float); in BuildGLFormatTable() 56 AddFormat(wgpu::TextureFormat::RG8Unorm, GL_RG8, GL_RG, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable() 57 AddFormat(wgpu::TextureFormat in BuildGLFormatTable() [all...] |
H A D | SpirvUtils.cpp | 67 wgpu::TextureFormat SpirvImageFormatToTextureFormat(spv::ImageFormat format) { in SpirvImageFormatToTextureFormat() 70 return wgpu::TextureFormat::R8Unorm; in SpirvImageFormatToTextureFormat() 72 return wgpu::TextureFormat::R8Snorm; in SpirvImageFormatToTextureFormat() 74 return wgpu::TextureFormat::R8Uint; in SpirvImageFormatToTextureFormat() 76 return wgpu::TextureFormat::R8Sint; in SpirvImageFormatToTextureFormat() 78 return wgpu::TextureFormat::R16Uint; in SpirvImageFormatToTextureFormat() 80 return wgpu::TextureFormat::R16Sint; in SpirvImageFormatToTextureFormat() 82 return wgpu::TextureFormat::R16Float; in SpirvImageFormatToTextureFormat() 84 return wgpu::TextureFormat::RG8Unorm; in SpirvImageFormatToTextureFormat() 86 return wgpu::TextureFormat in SpirvImageFormatToTextureFormat() [all...] |
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnUtil.cpp | 10 size_t GrDawnBytesPerBlock(wgpu::TextureFormat format) { in GrDawnBytesPerBlock() 12 case wgpu::TextureFormat::RGBA8Unorm: in GrDawnBytesPerBlock() 13 case wgpu::TextureFormat::BGRA8Unorm: in GrDawnBytesPerBlock() 15 case wgpu::TextureFormat::R8Unorm: in GrDawnBytesPerBlock() 17 case wgpu::TextureFormat::Depth24PlusStencil8: in GrDawnBytesPerBlock() 24 int GrDawnFormatStencilBits(wgpu::TextureFormat format) { in GrDawnFormatStencilBits() 26 case wgpu::TextureFormat::RGBA8Unorm: in GrDawnFormatStencilBits() 27 case wgpu::TextureFormat::BGRA8Unorm: in GrDawnFormatStencilBits() 28 case wgpu::TextureFormat::R8Unorm: in GrDawnFormatStencilBits() 30 case wgpu::TextureFormat in GrDawnFormatStencilBits() [all...] |
H A D | GrDawnUtil.h | 14 size_t GrDawnBytesPerBlock(wgpu::TextureFormat format); 15 int GrDawnFormatStencilBits(wgpu::TextureFormat format); 16 bool GrDawnFormatIsRenderable(wgpu::TextureFormat format); 17 bool GrColorTypeToDawnFormat(GrColorType colorType, wgpu::TextureFormat* format); 18 bool GrDawnFormatToGrColorType(wgpu::TextureFormat format, GrColorType* colorType); 21 const char* GrDawnFormatToStr(wgpu::TextureFormat format); 24 static constexpr uint32_t GrDawnFormatChannels(wgpu::TextureFormat format) { in GrDawnFormatChannels() 26 case wgpu::TextureFormat::RGBA8Unorm: return kRGBA_SkColorChannelFlags; in GrDawnFormatChannels() 27 case wgpu::TextureFormat::BGRA8Unorm: return kRGBA_SkColorChannelFlags; in GrDawnFormatChannels() 28 case wgpu::TextureFormat in GrDawnFormatChannels() [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkImageUtil.cpp | 115 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in isDepthStencilFormat() 116 return tcuFormat.order == tcu::TextureFormat::D || tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::TextureFormat::DS; in isDepthStencilFormat() 123 case tcu::TextureFormat::sR: in isSrgbFormat() 124 case tcu::TextureFormat::sRG: in isSrgbFormat() 125 case tcu::TextureFormat::sRGB: in isSrgbFormat() 126 case tcu::TextureFormat::sRGBA: in isSrgbFormat() 127 case tcu::TextureFormat::sBGR: in isSrgbFormat() 128 case tcu::TextureFormat in isSrgbFormat() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | StorageTextureValidationTests.cpp | 60 wgpu::TextureFormat textureFormat, in CreateComputeShaderWithStorageTexture() 93 wgpu::TextureFormat format, in CreateTexture() 217 0, testSpec.stage, testSpec.type, wgpu::TextureFormat::R32Uint); in TEST_F() 236 constexpr std::array<wgpu::TextureFormat, 32> kWGPUTextureFormatSupportedAsSPIRVImageFormats = { in TEST_F() 237 wgpu::TextureFormat::R32Uint, wgpu::TextureFormat::R32Sint, in TEST_F() 238 wgpu::TextureFormat::R32Float, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() 239 wgpu::TextureFormat::RGBA8Snorm, wgpu::TextureFormat in TEST_F() [all...] |
H A D | QueueWriteTextureValidationTests.cpp | 34 wgpu::TextureFormat format, in Create2DTexture() 75 wgpu::TextureFormat textureFormat, in TestWriteTextureExactDataSize() 95 utils::RequiredBytesInCopy(256, 0, {4, 4, 1}, wgpu::TextureFormat::RGBA8Unorm); in TEST_F() 96 wgpu::Texture destination = Create2DTexture({16, 16, 4}, 5, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() 156 utils::RequiredBytesInCopy(256, 0, {4, 4, 1}, wgpu::TextureFormat::RGBA8Unorm); in TEST_F() 157 wgpu::Texture destination = Create2DTexture({16, 16, 1}, 5, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() 176 utils::RequiredBytesInCopy(256, 0, {7, 3, 1}, wgpu::TextureFormat::RGBA8Unorm); in TEST_F() 186 utils::RequiredBytesInCopy(256, 0, {4, 4, 1}, wgpu::TextureFormat::RGBA8Unorm); in TEST_F() 187 wgpu::Texture destination = Create2DTexture({16, 16, 2}, 5, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() 214 utils::RequiredBytesInCopy(0, 0, {0, 0, 2}, wgpu::TextureFormat in TEST_F() [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | TextureVk.cpp | 219 VkFormat VulkanImageFormat(const Device* device, wgpu::TextureFormat format) { in VulkanImageFormat() 221 case wgpu::TextureFormat::R8Unorm: in VulkanImageFormat() 223 case wgpu::TextureFormat::R8Snorm: in VulkanImageFormat() 225 case wgpu::TextureFormat::R8Uint: in VulkanImageFormat() 227 case wgpu::TextureFormat::R8Sint: in VulkanImageFormat() 230 case wgpu::TextureFormat::R16Uint: in VulkanImageFormat() 232 case wgpu::TextureFormat::R16Sint: in VulkanImageFormat() 234 case wgpu::TextureFormat::R16Float: in VulkanImageFormat() 236 case wgpu::TextureFormat::RG8Unorm: in VulkanImageFormat() 238 case wgpu::TextureFormat in VulkanImageFormat() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | StorageTextureTests.cpp | 25 bool OpenGLESSupportsStorageTexture(wgpu::TextureFormat format) { in OpenGLESSupportsStorageTexture() 27 return format != wgpu::TextureFormat::RG32Float && in OpenGLESSupportsStorageTexture() 28 format != wgpu::TextureFormat::RG32Sint && format != wgpu::TextureFormat::RG32Uint; in OpenGLESSupportsStorageTexture() 35 wgpu::TextureFormat format, in FillExpectedData() 44 case wgpu::TextureFormat::R32Uint: { in FillExpectedData() 50 case wgpu::TextureFormat::RG32Uint: { in FillExpectedData() 57 case wgpu::TextureFormat::RGBA32Uint: { in FillExpectedData() 67 case wgpu::TextureFormat::R32Sint: { in FillExpectedData() 73 case wgpu::TextureFormat in FillExpectedData() [all...] |
H A D | CompressedTextureFormatTests.cpp | 37 using TextureFormat = wgpu::TextureFormat; 38 DAWN_TEST_PARAM_STRUCT(CompressedTextureFormatTestParams, TextureFormat); 44 const wgpu::TextureFormat format = GetParam().mTextureFormat; 307 case wgpu::TextureFormat::BC1RGBAUnorm: in GetOneBlockFormatTextureData() 308 case wgpu::TextureFormat::BC1RGBAUnormSrgb: in GetOneBlockFormatTextureData() 310 case wgpu::TextureFormat::BC7RGBAUnorm: in GetOneBlockFormatTextureData() 311 case wgpu::TextureFormat::BC7RGBAUnormSrgb: in GetOneBlockFormatTextureData() 322 case wgpu::TextureFormat::BC2RGBAUnorm: in GetOneBlockFormatTextureData() 323 case wgpu::TextureFormat in GetOneBlockFormatTextureData() [all...] |
H A D | NonzeroTextureCreationTests.cpp | 25 using Format = wgpu::TextureFormat; 79 if (GetParam().mFormat == wgpu::TextureFormat::BC1RGBAUnorm && 87 DAWN_TEST_UNSUPPORTED_IF(GetParam().mFormat == wgpu::TextureFormat::BC1RGBAUnorm && in Run() 92 DAWN_TEST_UNSUPPORTED_IF(GetParam().mFormat == wgpu::TextureFormat::RGBA8Snorm && in Run() 103 (GetParam().mFormat == wgpu::TextureFormat::Depth32Float || in Run() 104 GetParam().mFormat == wgpu::TextureFormat::Depth24PlusStencil8) && in Run() 108 DAWN_SUPPRESS_TEST_IF((GetParam().mFormat == wgpu::TextureFormat::R8Unorm || in Run() 109 GetParam().mFormat == wgpu::TextureFormat::RG8Unorm) && in Run() 114 DAWN_SUPPRESS_TEST_IF(GetParam().mFormat == wgpu::TextureFormat::Depth32Float && in Run() 118 DAWN_SUPPRESS_TEST_IF(GetParam().mFormat == wgpu::TextureFormat in Run() [all...] |
H A D | CopyTextureForBrowserTests.cpp | 25 static constexpr wgpu::TextureFormat kTextureFormat = wgpu::TextureFormat::RGBA8Unorm; 34 using SrcFormat = wgpu::TextureFormat; 35 using DstFormat = wgpu::TextureFormat; 63 wgpu::TextureFormat format = kTextureFormat; 265 static uint32_t GetTextureFormatComponentCount(wgpu::TextureFormat format) { in GetTextureFormatComponentCount() 267 case wgpu::TextureFormat::RGBA8Unorm: in GetTextureFormatComponentCount() 268 case wgpu::TextureFormat::RGBA8UnormSrgb: in GetTextureFormatComponentCount() 269 case wgpu::TextureFormat::BGRA8Unorm: in GetTextureFormatComponentCount() 270 case wgpu::TextureFormat in GetTextureFormatComponentCount() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcNearestEdgeTests.cpp | 77 static tcu::TextureFormat toTextureFormat (deqp::Context& context, const tcu::PixelFormat& pixelFmt); 92 const tcu::TextureFormat m_texFormat; 127 tcu::TextureFormat NearestEdgeTestCase::toTextureFormat (deqp::Context& context, const tcu::PixelFormat& pixelFmt) in toTextureFormat() 132 tcu::TextureFormat texFmt; in toTextureFormat() 135 { tcu::PixelFormat(8,8,8,8), tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8) }, in toTextureFormat() 136 { tcu::PixelFormat(8,8,8,0), tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat in toTextureFormat() [all...] |