/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureTexelBufferTests.cpp | 115 "a8b8g8r8-snorm-pack32", in createUniformTexelBufferTests() 133 // .snorm in createUniformTexelBufferTests() 136 tcu::TestCaseGroup* const snorm = new tcu::TestCaseGroup(testCtx, "snorm", "Test uniform texel buffer with SNORM formats"); in createUniformTexelBufferTests() member in vkt::texture::__anon28911::tcu 137 static const char dataDir[] = "texture/texel_buffer/uniform/snorm"; in createUniformTexelBufferTests() 145 { "b8g8r8-snorm", false, VK_FORMAT_B8G8R8_SNORM }, in createUniformTexelBufferTests() 146 { "b8g8r8a8-snorm", false, VK_FORMAT_B8G8R8A8_SINT }, in createUniformTexelBufferTests() 147 { "r16-snorm", false, VK_FORMAT_R16_SNORM }, in createUniformTexelBufferTests() 148 { "r16g16-snorm", false, VK_FORMAT_R16G16_SNORM }, in createUniformTexelBufferTests() 149 { "r16g16b16-snorm", fals in createUniformTexelBufferTests() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
H A D | vktTextureTexelBufferTests.cpp | 114 "a8b8g8r8-snorm-pack32", in createUniformTexelBufferTests() 132 // .snorm in createUniformTexelBufferTests() 135 tcu::TestCaseGroup* const snorm = new tcu::TestCaseGroup(testCtx, "snorm", "Test uniform texel buffer with SNORM formats"); in createUniformTexelBufferTests() member in vkt::texture::__anon30058::tcu 136 static const char dataDir[] = "texture/texel_buffer/uniform/snorm"; in createUniformTexelBufferTests() 144 { "b8g8r8-snorm", false, VK_FORMAT_B8G8R8_SNORM }, in createUniformTexelBufferTests() 145 { "b8g8r8a8-snorm", false, VK_FORMAT_B8G8R8A8_SINT }, in createUniformTexelBufferTests() 146 { "r16-snorm", false, VK_FORMAT_R16_SNORM }, in createUniformTexelBufferTests() 147 { "r16g16-snorm", false, VK_FORMAT_R16G16_SNORM }, in createUniformTexelBufferTests() 148 { "r16g16b16-snorm", fals in createUniformTexelBufferTests() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Surface.cpp | 94 *(char*)element = snorm<8>(r); in write() 151 *(unsigned int*)element = (static_cast<unsigned int>(snorm<8>(a)) << 24) | in write() 152 (static_cast<unsigned int>(snorm<8>(b)) << 16) | in write() 153 (static_cast<unsigned int>(snorm<8>(g)) << 8) | in write() 154 (static_cast<unsigned int>(snorm<8>(r)) << 0); in write() 171 (static_cast<unsigned int>(snorm<8>(b)) << 16) | in write() 172 (static_cast<unsigned int>(snorm<8>(g)) << 8) | in write() 173 (static_cast<unsigned int>(snorm<8>(r)) << 0); in write() 195 *(unsigned short*)element = (static_cast<unsigned short>(snorm<8>(g)) << 8) | in write() 196 (static_cast<unsigned short>(snorm< in write() [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkImageUtil.cpp | 1298 const deUint8 snorm = (deUint8)tcu::TEXTURECHANNELCLASS_SIGNED_FIXED_POINT; in getCorePlanarFormatDescription() local 1356 { 0, snorm, 0, 8, 1 }, // R in getCorePlanarFormatDescription() 1405 { 0, snorm, 0, 8, 2 }, // R in getCorePlanarFormatDescription() 1406 { 0, snorm, 8, 8, 2 }, // G in getCorePlanarFormatDescription() 1453 { 0, snorm, 0, 16, 2 }, // R in getCorePlanarFormatDescription() 1501 { 0, snorm, 0, 16, 4 }, // R in getCorePlanarFormatDescription() 1502 { 0, snorm, 16, 16, 4 }, // G in getCorePlanarFormatDescription() 2415 { 0, snorm, 0, 8, 4 }, // R in getCorePlanarFormatDescription() 2416 { 0, snorm, 8, 8, 4 }, // G in getCorePlanarFormatDescription() 2417 { 0, snorm, 1 in getCorePlanarFormatDescription() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Common/ |
H A D | Math.hpp | 274 inline int snorm(float x) in snorm() function
|
/third_party/skia/third_party/externals/swiftshader/src/System/ |
H A D | Math.hpp | 242 inline int snorm(float x) in snorm() function
|
/third_party/mesa3d/src/util/tests/format/ |
H A D | u_format_test.c | 693 /* Touch-test that the unorm/snorm flags are set up right by codegen. */ 699 #define FORMAT_CASE(format, unorm, snorm) \ in test_format_norm_flags() 702 format_desc->is_snorm == snorm); \ in test_format_norm_flags() 725 printf("FAILED: %s (unorm %s, snorm %s)\n", in test_format_norm_flags()
|