/third_party/vk-gl-cts/framework/common/ |
D | tcuRGBA.hpp | 38 class RGBA class 57 RGBA (void) { m_value = 0; } in RGBA() function in tcu::RGBA 59 RGBA (int r, int g, int b, int a) in RGBA() function in tcu::RGBA 68 explicit RGBA (deUint32 val) in RGBA() function in tcu::RGBA 73 explicit RGBA (const Vec4& v); 85 …bool isBelowThreshold (RGBA thr) const { return (getRed() <= thr.getRed()) && (getGreen() <= thr… in isBelowThreshold() 87 …static RGBA fromBytes (const deUint8* bytes) { return RGBA(bytes[0], bytes[1], bytes[2], bytes[… in fromBytes() 92 bool operator== (const RGBA& v) const { return (m_value == v.m_value); } in operator ==() 93 bool operator!= (const RGBA& v) const { return (m_value != v.m_value); } in operator !=() 96 static inline const RGBA red (void) { return RGBA(0xFF, 0x0, 0x0, 0xFF); } in red() [all …]
|
D | tcuRGBA.cpp | 31 RGBA::RGBA (const Vec4& v) in RGBA() function in tcu::RGBA 40 Vec4 RGBA::toVec (void) const in toVec() 48 IVec4 RGBA::toIVec (void) const in toIVec() 53 RGBA computeAbsDiffMasked (RGBA a, RGBA b, deUint32 cmpMask) in computeAbsDiffMasked() 62 if (cmpMask & RGBA::RED_MASK) in computeAbsDiffMasked() 64 int ra = (aPacked >> RGBA::RED_SHIFT) & 0xFF; in computeAbsDiffMasked() 65 int rb = (bPacked >> RGBA::RED_SHIFT) & 0xFF; in computeAbsDiffMasked() 70 if (cmpMask & RGBA::GREEN_MASK) in computeAbsDiffMasked() 72 int ga = (aPacked >> RGBA::GREEN_SHIFT) & 0xFF; in computeAbsDiffMasked() 73 int gb = (bPacked >> RGBA::GREEN_SHIFT) & 0xFF; in computeAbsDiffMasked() [all …]
|
D | tcuSurface.hpp | 56 void setPixel (int x, int y, RGBA col); 57 RGBA getPixel (int x, int y) const; 70 inline void Surface::setPixel (int x, int y, RGBA col) in setPixel() 87 inline RGBA Surface::getPixel (int x, int y) const in getPixel() 94 …DE_STATIC_ASSERT(RGBA::RED_SHIFT == 0 && RGBA::GREEN_SHIFT == 8 && RGBA::BLUE_SHIFT == 16 && RGBA:… in getPixel() 97 return RGBA(*pixAddr); in getPixel() 100 return RGBA(byteAddr[0], byteAddr[1], byteAddr[2], byteAddr[3]); in getPixel() 107 …return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_wid… in getAccess() 113 …return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m… in getAccess()
|
D | tcuBilinearImageCompare.cpp | 61 inline RGBA readRGBA8 (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y) in readRGBA8() 66 res |= getChannel<0>(raw) << RGBA::RED_SHIFT; in readRGBA8() 67 res |= getChannel<1>(raw) << RGBA::GREEN_SHIFT; in readRGBA8() 68 res |= getChannel<2>(raw) << RGBA::BLUE_SHIFT; in readRGBA8() 69 res |= getChannel<3>(raw) << RGBA::ALPHA_SHIFT; in readRGBA8() 71 return RGBA(res); in readRGBA8() 86 RGBA bilinearSampleRGBA8 (const ConstPixelBufferAccess& access, deUint32 u, deUint32 v) in bilinearSampleRGBA8() 106 …getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), getChannel<0>(p11)) << RGBA::RED_SHIFT; in bilinearSampleRGBA8() 107 …tChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), getChannel<1>(p11)) << RGBA::GREEN_SHIFT; in bilinearSampleRGBA8() 108 …etChannel<2>(p00), getChannel<2>(p01), getChannel<2>(p10), getChannel<2>(p11)) << RGBA::BLUE_SHIFT; in bilinearSampleRGBA8() [all …]
|
D | tcuSurfaceAccess.hpp | 36 return (deUint8)((format.redBits ? tcu::RGBA::RED_MASK : 0) | in getColorMask() 37 (format.greenBits ? tcu::RGBA::GREEN_MASK : 0) | in getColorMask() 38 (format.blueBits ? tcu::RGBA::BLUE_MASK : 0) | in getColorMask() 39 (format.alphaBits ? tcu::RGBA::ALPHA_MASK : 0)); in getColorMask() 42 inline tcu::RGBA toRGBAMasked (const tcu::Vec4& v, deUint8 mask) in toRGBAMasked() 44 return tcu::RGBA((mask&tcu::RGBA::RED_MASK) ? tcu::floatToU8(v.x()) : 0, in toRGBAMasked() 45 (mask&tcu::RGBA::GREEN_MASK) ? tcu::floatToU8(v.y()) : 0, in toRGBAMasked() 46 (mask&tcu::RGBA::BLUE_MASK) ? tcu::floatToU8(v.z()) : 0, in toRGBAMasked() 47 …(mask&tcu::RGBA::ALPHA_MASK) ? tcu::floatToU8(v.w()) : 0xFF); //!< \note Alpha defaults to full sa… in toRGBAMasked()
|
D | tcuPixelFormat.hpp | 78 inline RGBA getColorThreshold (void) const in getColorThreshold() 80 return RGBA( in getColorThreshold() 117 inline RGBA convertColor (const RGBA& col) const in convertColor() 119 return RGBA(convertChannel(col.getRed(), redBits), in convertColor()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_format.c | 180 FMT(ETC2_RGBA8, ETC2_RGBA8, RGBA, L, _T__), 181 FMT(ETC2_SRGBA8, ETC2_RGBA8, RGBA, S, _T__), 185 FMT(ETC2_RGB8A1, ETC2_RGB8A1, RGBA, L, _T__), 186 FMT(ETC2_SRGB8A1, ETC2_RGB8A1, RGBA, S, _T__), 188 FMT(DXT1_RGBA, BC1_UNORM, RGBA, L, _T__), 190 FMT(DXT1_SRGBA, BC1_UNORM, RGBA, S, _T__), 191 FMT(DXT3_RGBA, BC2_UNORM, RGBA, L, _T__), 192 FMT(DXT3_SRGBA, BC2_UNORM, RGBA, S, _T__), 193 FMT(DXT5_RGBA, BC3_UNORM, RGBA, L, _T__), 194 FMT(DXT5_SRGBA, BC3_UNORM, RGBA, S, _T__), [all …]
|
/third_party/mesa3d/src/panfrost/lib/tests/ |
D | test-blend.c | 39 #define RGBA(key, value) \ macro 64 RGBA(func, BLEND_FUNC_ADD), 65 RGBA(src_factor, BLEND_FACTOR_SRC_ALPHA), 66 RGBA(dst_factor, BLEND_FACTOR_SRC_ALPHA), 67 RGBA(invert_dst_factor, true), 83 RGBA(func, BLEND_FUNC_ADD), 84 RGBA(src_factor, BLEND_FACTOR_ZERO), 85 RGBA(dst_factor, BLEND_FACTOR_ZERO), 86 RGBA(invert_src_factor, true), 87 RGBA(invert_dst_factor, true), [all …]
|
/third_party/vk-gl-cts/modules/internal/ |
D | ditImageCompareTests.cpp | 48 …dst.setStorage(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), tmp.g… in loadImageRGBA8() 114 …Ctx, const char* name, const char* refImg, const char* cmpImg, const tcu::RGBA& threshold, bool ex… in BilinearCompareCase() 153 const tcu::RGBA m_threshold; 193 …(m_testCtx, "identical", "cube_ref.png", "cube_ref.png", tcu::RGBA(0,0,0,0), true)); in init() 194 … "empty_to_white", "empty_256x256.png", "white_256x256.png", tcu::RGBA(7,7,7,2), false)); in init() 195 … "white_to_empty", "white_256x256.png", "empty_256x256.png", tcu::RGBA(7,7,7,2), false)); in init() 196 …se(m_testCtx, "cube", "cube_ref.png", "cube_cmp.png", tcu::RGBA(7,7,7,2), false)); in init() 197 …m_testCtx, "cube_2", "cube_2_ref.png", "cube_2_cmp.png", tcu::RGBA(7,7,7,2), false)); in init() 198 …cube_sphere", "cube_sphere_ref.png", "cube_sphere_cmp.png", tcu::RGBA(7,7,7,2), false)); in init() 199 …Ctx, "cube_nmap", "cube_nmap_ref.png", "cube_nmap_cmp.png", tcu::RGBA(7,7,7,2), false)); in init() [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fNegativeShaderImageLoadStoreTests.cpp | 91 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break; in getShaderImageLayoutQualifier() 397 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT), in image_store() 398 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::HALF_FLOAT), in image_store() 400 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), in image_store() 401 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SNORM_INT8), in image_store() 403 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32), in image_store() 404 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT16), in image_store() 405 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT8), in image_store() 408 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32), in image_store() 409 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT16), in image_store() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmGraphicsShaderTestUtil.hpp | 261 tcu::RGBA inputColors[4]; 262 tcu::RGBA outputColors[4]; 290 InstanceContext (const tcu::RGBA (&inputs)[4], 291 const tcu::RGBA (&outputs)[4], 363 void getDefaultColors (tcu::RGBA (&colors)[4]); 365 void getHalfColorsFullAlpha (tcu::RGBA (&colors)[4]); 367 void getInvertedDefaultColors (tcu::RGBA (&colors)[4]); 386 const tcu::RGBA (&inputColors)[4], 387 const tcu::RGBA (&outputColors)[4], 402 const tcu::RGBA (&inputColors)[4], in createInstanceContext() [all …]
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_texture_format_BGRA8888.txt | 46 RGBA RGBA UNSIGNED_BYTE 4 48 RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 49 RGBA RGBA UNSIGNED_SHORT_5_5_5_1 2 61 RGBA RGBA UNSIGNED_BYTE 4 63 RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 64 RGBA RGBA UNSIGNED_SHORT_5_5_5_1 2
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_texture_format_BGRA8888.txt | 46 RGBA RGBA UNSIGNED_BYTE 4 48 RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 49 RGBA RGBA UNSIGNED_SHORT_5_5_5_1 2 61 RGBA RGBA UNSIGNED_BYTE 4 63 RGBA RGBA UNSIGNED_SHORT_4_4_4_4 2 64 RGBA RGBA UNSIGNED_SHORT_5_5_5_1 2
|
/third_party/openGLES/extensions/HP/ |
D | README.image_pipeline.txt | 9 OpenGL RGBA Image Rendering Pipeline (destination is an RGBA visual) 11 1. Image data exist in main memory (as either RGBA or color index values) 13 3. If pixels are RGBA pixels, convert all components to floats (logically, 15 4. If pixels are RGBA pixels, convert all component groups to full RGBA 17 5a. If pixels are RGBA pixels, perform ax+b operation on each component 20 6a. If pixels are RGBA values, go through lookup table (OpenGL RGBA to RGBA 23 index to RGBA lookup, controlled by GL_MAP_COLOR)
|
/third_party/skia/third_party/externals/opengl-registry/extensions/HP/ |
D | README.image_pipeline.txt | 9 OpenGL RGBA Image Rendering Pipeline (destination is an RGBA visual) 11 1. Image data exist in main memory (as either RGBA or color index values) 13 3. If pixels are RGBA pixels, convert all components to floats (logically, 15 4. If pixels are RGBA pixels, convert all component groups to full RGBA 17 5a. If pixels are RGBA pixels, perform ax+b operation on each component 20 6a. If pixels are RGBA values, go through lookup table (OpenGL RGBA to RGBA 23 index to RGBA lookup, controlled by GL_MAP_COLOR)
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateGeneralTests.cpp | 64 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StateSwitchTestInstance() 65 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in StateSwitchTestInstance() 66 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec… in StateSwitchTestInstance() 67 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StateSwitchTestInstance() 156 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in BindOrderTestInstance() 157 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in BindOrderTestInstance() 158 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec… in BindOrderTestInstance() 159 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in BindOrderTestInstance() 252 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StatePersistenceTestInstance() 253 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in StatePersistenceTestInstance() [all …]
|
D | vktDynamicStateDSTests.cpp | 397 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance() 398 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, 1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance() 399 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 0.375f, 1.0f), tcu::RGBA::green().toV… in DepthBoundsParamTestInstance() 400 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, -1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance() 402 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, 1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance() 403 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance() 404 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, -1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance() 405 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance() 407 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in DepthBoundsParamTestInstance() 408 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec())… in DepthBoundsParamTestInstance() [all …]
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureUtil.cpp | 79 case TextureFormat::RGBA: format = isInt ? GL_RGBA_INTEGER : GL_RGBA; break; in getTransferFormat() 150 case FMT_CASE(RGBA, UNORM_SHORT_5551): return GL_RGB5_A1; in getInternalFormat() 151 case FMT_CASE(RGBA, UNORM_SHORT_4444): return GL_RGBA4; in getInternalFormat() 156 case FMT_CASE(RGBA, FLOAT): return GL_RGBA32F; in getInternalFormat() 157 case FMT_CASE(RGBA, SIGNED_INT32): return GL_RGBA32I; in getInternalFormat() 158 case FMT_CASE(RGBA, UNSIGNED_INT32): return GL_RGBA32UI; in getInternalFormat() 159 case FMT_CASE(RGBA, UNORM_INT16): return GL_RGBA16; in getInternalFormat() 160 case FMT_CASE(RGBA, SNORM_INT16): return GL_RGBA16_SNORM; in getInternalFormat() 161 case FMT_CASE(RGBA, HALF_FLOAT): return GL_RGBA16F; in getInternalFormat() 162 case FMT_CASE(RGBA, SIGNED_INT16): return GL_RGBA16I; in getInternalFormat() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawSimpleTest.cpp | 66 …m_data.push_back(VertexElementData(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), … in SimpleDraw() 67 …m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), … in SimpleDraw() 74 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 75 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 76 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 77 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 78 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 79 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 82 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 83 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() [all …]
|
D | vktDrawIndirectTest.cpp | 158 …m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), … in setVertexBuffer() 163 …m_data.push_back(VertexElementData(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer() 164 …m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer() 169 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer() 170 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer() 171 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer() 172 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer() 173 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer() 174 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in setVertexBuffer() 177 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in setVertexBuffer() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fColorClearTest.cpp | 40 using tcu::RGBA; 90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo() 97 tcu::RGBA m_color; 149 RGBA clearCol(r, g, b, a); in iterate() 186 tcu::RGBA spanColor; in iterate() 200 tcu::RGBA clearCol = op.m_color; in iterate() 236 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() 237 RGBA matchColor(0, 255, 0, 255); in iterate() 238 RGBA diffColor(255, 0, 0, 255); in iterate() 239 RGBA maxDiff(0, 0, 0, 0); in iterate() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fColorClearTest.cpp | 40 using tcu::RGBA; 90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo() 97 tcu::RGBA m_color; 149 RGBA clearCol(r, g, b, a); in iterate() 186 tcu::RGBA spanColor; in iterate() 200 tcu::RGBA clearCol = op.m_color; in iterate() 236 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() 237 RGBA matchColor(0, 255, 0, 255); in iterate() 238 RGBA diffColor(255, 0, 0, 255); in iterate() 239 RGBA maxDiff(0, 0, 0, 0); in iterate() [all …]
|
D | es3fShaderFragDataTests.cpp | 82 …leColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA thresh… in compareSingleColor() 93 const tcu::RGBA resultColor = surface.getPixel(x, y); in compareSingleColor() 219 …const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate() 225 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold); in iterate() 336 …const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu… in iterate() 340 gl.clearBufferfv(GL_COLOR, 0, tcu::RGBA::red().toVec().getPtr()); in iterate() 341 gl.clearBufferfv(GL_COLOR, 1, tcu::RGBA::red().toVec().getPtr()); in iterate() 360 if (!compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold)) in iterate()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_formats.c | 46 #define RGBA _ISL_SWIZZLE(RED, GREEN, BLUE, ALPHA) macro 63 swiz_fmt1(__vk_fmt, __hw_fmt, RGBA) 68 { .isl_format = __hw_fmt, .swizzle = RGBA, \ 80 { .isl_format = __hw_fmt, .swizzle = RGBA, \ 92 { .isl_format = __fmt1, .swizzle = RGBA, \ 96 { .isl_format = __fmt2, .swizzle = RGBA, \ 344 y_plane(0, ISL_FORMAT_YCRCB_SWAPUV, RGBA, _ISL_SWIZZLE(BLUE, GREEN, RED, ZERO), 1, 1)), 346 … y_plane(0, ISL_FORMAT_YCRCB_SWAPUVY, RGBA, _ISL_SWIZZLE(BLUE, GREEN, RED, ZERO), 1, 1)), 348 y_plane(0, ISL_FORMAT_R8_UNORM, RGBA, _ISL_SWIZZLE(GREEN, ZERO, ZERO, ZERO), 1, 1), 349 chroma_plane(1, ISL_FORMAT_R8_UNORM, RGBA, _ISL_SWIZZLE(BLUE, ZERO, ZERO, ZERO), 2, 2), [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/ |
D | esextcDrawBuffersIndexedBlending.cpp | 138 tcu::RGBA expected[] = { in iterate() 140 tcu::RGBA(static_cast<unsigned int>(background.x() * 255), in iterate() 145 tcu::RGBA(static_cast<unsigned int>(background.x() * 255), in iterate() 150 tcu::RGBA( in iterate() 167 tcu::RGBA(static_cast<unsigned int>((background.x() - colors[3].x()) * 255), in iterate() 237 tcu::RGBA epsilon = GetEpsilon(); in iterate() 242 …tcu::TextureLevel textureLevel(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UN… in iterate() 371 tcu::RGBA DrawBuffersIndexedBlending::GetEpsilon() in GetEpsilon() 385 return tcu::RGBA(epsilon.x(), epsilon.y(), epsilon.z(), epsilon.w()); in GetEpsilon() 388 bool DrawBuffersIndexedBlending::VerifyImg(const tcu::TextureLevel& textureLevel, tcu::RGBA expecte… in VerifyImg() [all …]
|