Home
last modified time | relevance | path

Searched refs:resultColor (Results 1 – 23 of 23) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fShaderFragDataTests.cpp75 const tcu::RGBA resultColor = surface.getPixel(x, y); in compareSingleColor() local
76 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
81 …log << TestLog::Message << "ERROR: Got " << resultColor << " at (" << x << ", " << y << ")!" << Te… in compareSingleColor()
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/texture/multisample/invalidsampleindex/
Dsample_count_8.amber73 vec4 resultColor = imageOk ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1);
74 imageStore(result, uv, resultColor);
Dsample_count_32.amber73 vec4 resultColor = imageOk ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1);
74 imageStore(result, uv, resultColor);
Dsample_count_16.amber73 vec4 resultColor = imageOk ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1);
74 imageStore(result, uv, resultColor);
Dsample_count_2.amber71 vec4 resultColor = imageOk ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1);
72 imageStore(result, uv, resultColor);
Dsample_count_64.amber73 vec4 resultColor = imageOk ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1);
74 imageStore(result, uv, resultColor);
Dsample_count_4.amber73 vec4 resultColor = imageOk ? vec4(0, 1, 0, 1) : vec4(1, 0, 0, 1);
74 imageStore(result, uv, resultColor);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMisalignedCubeTests.cpp257 const tcu::Vec4 resultColor = readVec4(resultBufferAlloc.getHostPtr(), layerNdx); in iterate() local
258 const tcu::Vec4 delta = expectedColor - resultColor; in iterate()
270 const tcu::Vec4 resultColor = readVec4(resultBufferAlloc.getHostPtr(), layerNdx + 6u); in iterate() local
271 const tcu::Vec4 delta = expectedColor - resultColor; in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderFragDataTests.cpp93 const tcu::RGBA resultColor = surface.getPixel(x, y); in compareSingleColor() local
94 const bool isOk = compareThreshold(resultColor, expectedColor, threshold); in compareSingleColor()
99 …log << TestLog::Message << "ERROR: Got " << resultColor << " at (" << x << ", " << y << ")!" << Te… in compareSingleColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderBuiltinTests.cpp376 const auto resultColor = result.getPixel(x, y, z); in verifyResults() local
377 if (resultColor != expected) in verifyResults()
380 …< x << ", " << y << ", " << z << ") failed: expected " << expected << " and found " << resultColor; in verifyResults()
444 const auto resultColor = result.getPixel(x, y); in verifyResults() local
445 if (resultColor != expected) in verifyResults()
448 … "Pixel (" << x << ", " << y << ") failed: expected " << expected << " and found " << resultColor; in verifyResults()
491 const auto resultColor = result.getPixel(x, y); in verifyResults() local
493 if (resultColor != expected) in verifyResults()
496 …< "Pixel (" << x << ", " << y << ") failed: expected " << expected << " and found " << resultColor; in verifyResults()
/third_party/vk-gl-cts/modules/egl/
DteglNativeCoordMappingTests.cpp273 const tcu::Vec4 resultColor = result.getAccess().getPixel(x, y); in validate() local
277 if (!compareColor(resultColor, white)) in validate()
287 if (!compareColor(resultColor, black)) in validate()
299 if (!compareColor(resultColor, black) && !compareColor(resultColor, white)) in validate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCrossStageInterfaceTests.cpp575 const Vec4 resultColor (m_colorRed.x() * (1.0f - u) + m_colorGreen.x() * u, in interpolationFill() local
580 referenceFrame.getLevel(0).setPixel(resultColor,x,0); in interpolationFill()
596 const Vec4 resultColor (m_colorRed.x() * (1.0f - dynamics * u) + m_colorGreen.x() * u* dynamics, in perspectiveFill() local
604 referenceFrame.getLevel(0).setPixel(resultColor,x,0); in perspectiveFill()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp1786 const Vec4 resultColor = getResultImage().getAccess().getPixel(x, y); in iterate() local
1788 if (de::abs(color.x() - resultColor.x()) > precision || in iterate()
1789 de::abs(color.y() - resultColor.y()) > precision || in iterate()
1790 de::abs(color.z() - resultColor.z()) > precision) in iterate()
1911 const Vec4 resultColor = getResultImage().getAccess().getPixel(x, y); in iterate() local
1913 if (de::abs(color.x() - resultColor.x()) > precision || in iterate()
1914 de::abs(color.y() - resultColor.y()) > precision || in iterate()
1915 de::abs(color.z() - resultColor.z()) > precision) in iterate()
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_vertex_program4.txt241 | <resultColor> <optWriteMask>
242 | <resultColor> "." <colorType> <optWriteMask>
243 | <resultColor> "." <faceType> <optWriteMask>
244 | <resultColor> "." <faceType> "." <colorType>
247 <resultUseD> ::= <resultColor>
248 | <resultColor> "." <colorType>
249 | <resultColor> "." <faceType>
250 | <resultColor> "." <faceType> "." <colorType>
281 <resultColor> ::= <resPrefix> "color"
DNV_tessellation_program5.txt322 | <resultColor> <optWriteMask>
323 | <resultColor> "." <colorType> <optWriteMask>
324 | <resultColor> "." <faceType> <optWriteMask>
325 | <resultColor> "." <faceType> "." <colorType>
328 <resultUseD> ::= <resultColor> <optFaceColorType>
391 <resultColor> ::= <resPrefix> "color"
425 | <resultColor> <optWriteMask>
426 | <resultColor> "." <colorType> <optWriteMask>
427 | <resultColor> "." <faceType> <optWriteMask>
428 | <resultColor> "." <faceType> "." <colorType>
[all …]
DNV_geometry_program4.txt583 | <resultColor> <optWriteMask>
584 | <resultColor> "." <colorType> <optWriteMask>
585 | <resultColor> "." <faceType> <optWriteMask>
586 | <resultColor> "." <faceType> "." <colorType>
589 <resultUseD> ::= <resultColor>
590 | <resultColor> "." <colorType>
642 <resultColor> ::= <resPrefix> "color"
/third_party/openGLES/extensions/NV/
DNV_vertex_program4.txt241 | <resultColor> <optWriteMask>
242 | <resultColor> "." <colorType> <optWriteMask>
243 | <resultColor> "." <faceType> <optWriteMask>
244 | <resultColor> "." <faceType> "." <colorType>
247 <resultUseD> ::= <resultColor>
248 | <resultColor> "." <colorType>
249 | <resultColor> "." <faceType>
250 | <resultColor> "." <faceType> "." <colorType>
281 <resultColor> ::= <resPrefix> "color"
DNV_tessellation_program5.txt322 | <resultColor> <optWriteMask>
323 | <resultColor> "." <colorType> <optWriteMask>
324 | <resultColor> "." <faceType> <optWriteMask>
325 | <resultColor> "." <faceType> "." <colorType>
328 <resultUseD> ::= <resultColor> <optFaceColorType>
391 <resultColor> ::= <resPrefix> "color"
425 | <resultColor> <optWriteMask>
426 | <resultColor> "." <colorType> <optWriteMask>
427 | <resultColor> "." <faceType> <optWriteMask>
428 | <resultColor> "." <faceType> "." <colorType>
[all …]
DNV_geometry_program4.txt583 | <resultColor> <optWriteMask>
584 | <resultColor> "." <colorType> <optWriteMask>
585 | <resultColor> "." <faceType> <optWriteMask>
586 | <resultColor> "." <faceType> "." <colorType>
589 <resultUseD> ::= <resultColor>
590 | <resultColor> "." <colorType>
642 <resultColor> ::= <resPrefix> "color"
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fFboSRGBWriteControlTests.cpp200 void logColor (Context& context, const std::string& colorLogMessage, const tcu::Vec4 resultColor) in logColor() argument
205 … colorLogMessage << " = (" << resultColor.x() << ", " << resultColor.y() << ", " << resultColor.z(… in logColor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassUnusedAttachmentTests.cpp928 …const tcu::Vec4 resultColor = resultAccess.getPixel(resultAccess.getWidth() / 2, resultAccess.getH… in verifyImage() local
931 if (de::abs(resultColor[cpnt] - refColor[cpnt]) > 0.01f) in verifyImage()
DvktRenderPassTests.cpp3907 const Vec4 resultColor = result.getPixel(x, y); in verifyColorAttachment() local
3920 if ((value && (resultColor[compNdx] != 1.0f)) in verifyColorAttachment()
3921 || (!value && resultColor[compNdx] != 0.0f)) in verifyColorAttachment()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp978 const tcu::Vec4 resultColor = (resultPixel - lookupBias) / lookupScale; in validateResultImage() local
980 …ixelOk = isLookupResultValid(texture, sampler, lookupPrecision, texCoord, lodBounds, resultColor); in validateResultImage()