/third_party/vk-gl-cts/framework/common/ |
H A 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.getGreen()) && (getBlue() <= thr.getBlue()) && (getAlpha() <= thr.getAlpha()); } in isBelowThreshold() 87 static RGBA fromBytes (const deUint8* bytes) { return RGBA(bytes[0], bytes[1], bytes[2], bytes[3]); } in fromBytes() 92 bool operator== (const RGBA& v) const { return (m_value == v.m_value); } in operator ==() 93 bool operator!= (const RGBA in operator ==() [all...] |
H A 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 in computeAbsDiffMasked() [all...] |
H A 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::ALPHA_SHIFT == 24); in getPixel() 97 return RGBA(*pixAddr); in getPixel() 100 return RGBA(byteAdd in getPixel() [all...] |
H A 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 in toRGBAMasked() [all...] |
H A D | tcuBilinearImageCompare.cpp | 41 // tcu::RGBA::*_SHIFT values. 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 res |= interpolateChannel(fx1, fy1, getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), getChannel<0>(p11)) << RGBA::RED_SHIFT; in bilinearSampleRGBA8() 107 res |= interpolateChannel(fx1, fy1, getChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), getChannel<1>(p11)) << RGBA in bilinearSampleRGBA8() [all...] |
H A 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/ |
H A 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, [all...] |
/third_party/mesa3d/src/panfrost/lib/tests/ |
H A 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_facto [all...] |
/third_party/vk-gl-cts/modules/internal/ |
H A D | ditImageCompareTests.cpp | 48 dst.setStorage(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), tmp.getWidth(), tmp.getHeight()); in loadImageRGBA8() 114 BilinearCompareCase (tcu::TestContext& testCtx, const char* name, const char* refImg, const char* cmpImg, const tcu::RGBA& threshold, bool expectedResult) in BilinearCompareCase() 153 const tcu::RGBA m_threshold; 193 addChild(new BilinearCompareCase(m_testCtx, "identical", "cube_ref.png", "cube_ref.png", tcu::RGBA(0,0,0,0), true)); in init() 194 addChild(new BilinearCompareCase(m_testCtx, "empty_to_white", "empty_256x256.png", "white_256x256.png", tcu::RGBA(7,7,7,2), false)); in init() 195 addChild(new BilinearCompareCase(m_testCtx, "white_to_empty", "white_256x256.png", "empty_256x256.png", tcu::RGBA(7,7,7,2), false)); in init() 196 addChild(new BilinearCompareCase(m_testCtx, "cube", "cube_ref.png", "cube_cmp.png", tcu::RGBA(7,7,7,2), false)); in init() 197 addChild(new BilinearCompareCase(m_testCtx, "cube_2", "cube_2_ref.png", "cube_2_cmp.png", tcu::RGBA(7,7,7,2), false)); in init() 198 addChild(new BilinearCompareCase(m_testCtx, "cube_sphere", "cube_sphere_ref.png", "cube_sphere_cmp.png", tcu::RGBA(7,7,7,2), false)); in init() 199 addChild(new BilinearCompareCase(m_testCtx, "cube_nmap", "cube_nmap_ref.png", "cube_nmap_cmp.png", tcu::RGBA( in init() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A 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, tc in image_store() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmGraphicsShaderTestUtil.hpp | 261 tcu::RGBA inputColors[4]; 262 tcu::RGBA outputColors[4]; 290 InstanceContext (const tcu::RGBA (&inputs)[4], member 291 const tcu::RGBA (&outputs)[4], 363 void getDefaultColors (tcu::RGBA (&colors)[4]); member 365 void getHalfColorsFullAlpha (tcu::RGBA (&colors)[4]); member 367 void getInvertedDefaultColors (tcu::RGBA (&colors)[4]); member 386 const tcu::RGBA (&inputColors)[4], 387 const tcu::RGBA (&outputColors)[4], 402 const tcu::RGBA ( [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
H A D | vktSpvAsmGraphicsShaderTestUtil.hpp | 261 tcu::RGBA inputColors[4]; 262 tcu::RGBA outputColors[4]; 290 InstanceContext (const tcu::RGBA (&inputs)[4], member 291 const tcu::RGBA (&outputs)[4], 363 void getDefaultColors (tcu::RGBA (&colors)[4]); member 365 void getHalfColorsFullAlpha (tcu::RGBA (&colors)[4]); member 367 void getInvertedDefaultColors (tcu::RGBA (&colors)[4]); member 386 const tcu::RGBA (&inputColors)[4], 387 const tcu::RGBA (&outputColors)[4], 402 const tcu::RGBA ( [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A 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 maxDif in iterate() [all...] |
H A D | es2fPrerequisiteTests.cpp | 36 using tcu::RGBA; 88 RGBA m_clearColor; 234 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() 235 RGBA matchColor(0, 255, 0, 255); in iterate() 236 RGBA diffColor(255, 0, 0, 255); in iterate() 243 RGBA resRGBA = resImage.getPixel(i, j); in iterate() 244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A 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 maxDif in iterate() [all...] |
H A D | es3fShaderFragDataTests.cpp | 82 static bool compareSingleColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA threshold) in compareSingleColor() 93 const tcu::RGBA resultColor = surface.getPixel(x, y); in compareSingleColor() 219 const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tcu::RGBA(1,1,1,1); 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::RGBA(1,1,1,1); in iterate() 340 gl.clearBufferfv(GL_COLOR, 0, tcu::RGBA::red().toVec().getPtr()); in iterate() 341 gl.clearBufferfv(GL_COLOR, 1, tcu::RGBA in iterate() [all...] |
H A D | es3fPrerequisiteTests.cpp | 36 using tcu::RGBA; 88 RGBA m_clearColor; 234 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate() 235 RGBA matchColor(0, 255, 0, 255); in iterate() 236 RGBA diffColor(255, 0, 0, 255); in iterate() 243 RGBA resRGBA = resImage.getPixel(i, j); in iterate() 244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
|
/third_party/vk-gl-cts/framework/opengl/ |
H A 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_INT1 in getInternalFormat() [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A 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_SWIZZL [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
H A 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() 175 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance() 176 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance() 177 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance() 178 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance() 300 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StatePersistenceTestInstance() 301 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA in StatePersistenceTestInstance() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateGeneralTests.cpp | 62 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StateSwitchTestInstance() 63 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StateSwitchTestInstance() 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() 173 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance() 174 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance() 175 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance() 176 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in BindOrderTestInstance() 298 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec())); in StatePersistenceTestInstance() 299 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA in StatePersistenceTestInstance() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawSimpleTest.cpp | 67 m_data.push_back(VertexElementData(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), -1)); in SimpleDraw() 68 m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), -1)); in SimpleDraw() 75 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 76 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 77 m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 78 m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 79 m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 80 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 83 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 84 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA in SimpleDraw() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawSimpleTest.cpp | 67 m_data.push_back(VertexElementData(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), -1)); in SimpleDraw() 68 m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), -1)); in SimpleDraw() 75 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 76 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 77 m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 78 m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 79 m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 80 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 83 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++)); in SimpleDraw() 84 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA in SimpleDraw() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/ |
H A D | vktConditionalDrawTests.cpp | 149 m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, maxY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 150 m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 151 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, maxY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 153 m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 154 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, maxY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 155 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 158 m_data.push_back(Draw::VertexElementData(tcu::Vec4( -1.0f, 1.0f, 0.0f, 1.0f), tcu::RGBA::red().toVec(), 0)); 159 m_data.push_back(Draw::VertexElementData(tcu::Vec4( -1.0f, -1.0f, 0.0f, 1.0f), tcu::RGBA::red().toVec(), 0)); 160 m_data.push_back(Draw::VertexElementData(tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f), tcu::RGBA::red().toVec(), 0)); 162 m_data.push_back(Draw::VertexElementData(tcu::Vec4( -1.0f, -1.0f, 0.0f, 1.0f), tcu::RGBA [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/ |
H A D | vktConditionalDrawTests.cpp | 149 m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, maxY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 150 m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 151 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, maxY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 153 m_data.push_back(Draw::VertexElementData(tcu::Vec4( minX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 154 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, maxY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 155 m_data.push_back(Draw::VertexElementData(tcu::Vec4( maxX, minY, 0.5f, 1.0f), tcu::RGBA::blue().toVec(), 0)); 158 m_data.push_back(Draw::VertexElementData(tcu::Vec4( -1.0f, 1.0f, 0.0f, 1.0f), tcu::RGBA::red().toVec(), 0)); 159 m_data.push_back(Draw::VertexElementData(tcu::Vec4( -1.0f, -1.0f, 0.0f, 1.0f), tcu::RGBA::red().toVec(), 0)); 160 m_data.push_back(Draw::VertexElementData(tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f), tcu::RGBA::red().toVec(), 0)); 162 m_data.push_back(Draw::VertexElementData(tcu::Vec4( -1.0f, -1.0f, 0.0f, 1.0f), tcu::RGBA [all...] |