Home
last modified time | relevance | path

Searched refs:asUint (Results 1 – 25 of 25) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp142 …ector<deUint32, Size> subOne (const Vector<deUint32, Size>& v) { return (v.asInt() - 1).asUint(); } in subOne()
149 …VecScalar (const Vector<deUint32, Size>& v, deUint32 s) { return (v.asInt() - (int)s).asUint(); } in subVecScalar()
888 …c2 (ShaderEvalContext& c) { c.color.yz() = FUNC_NAME(c.in[0].swizzle(3, 1).asUint()).asFloat(); } \
889 …ShaderEvalContext& c) { c.color.xyz() = FUNC_NAME(c.in[0].swizzle(2, 0, 1).asUint()).asFloat(); } \
890 …c4 (ShaderEvalContext& c) { c.color = FUNC_NAME(c.in[0].swizzle(1, 2, 3, 0).asUint()).asFloat(); }
894 …xt& c) { c.color.yz() = FUNC_NAME(c.in[0].swizzle(3, 1).asUint(), c.in[1].swizzle(1, 0).asUint()…
895 …) { c.color.xyz() = FUNC_NAME(c.in[0].swizzle(2, 0, 1).asUint(), c.in[1].swizzle(1, 2, 0).asUint(…
896 …c) { c.color = FUNC_NAME(c.in[0].swizzle(1, 2, 3, 0).asUint(), c.in[1].swizzle(3, 2, 1, 0).asUint
906 …yz() = FUNC_NAME(c.in[0].swizzle(3, 1).asUint(), c.in[1].swizzle(1, 0).asUint(), c.in[2].swizz…
907 …= FUNC_NAME(c.in[0].swizzle(2, 0, 1).asUint(), c.in[1].swizzle(1, 2, 0).asUint(), c.in[2].swizzl…
[all …]
DvktShaderRenderTextureGatherTests.cpp1181 m_renderSize = RENDER_SIZE.asUint(); in TextureGatherInstance()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderOperatorTests.cpp171 …ector<deUint32, Size> subOne (const Vector<deUint32, Size>& v) { return (v.asInt() - 1).asUint(); } in subOne()
178 …VecScalar (const Vector<deUint32, Size>& v, deUint32 s) { return (v.asInt() - (int)s).asUint(); } in subVecScalar()
1172 …c2 (ShaderEvalContext& c) { c.color.yz() = FUNC_NAME(c.in[0].swizzle(3, 1).asUint()).asFloat(); } \
1173 …ShaderEvalContext& c) { c.color.xyz() = FUNC_NAME(c.in[0].swizzle(2, 0, 1).asUint()).asFloat(); } \
1174 …c4 (ShaderEvalContext& c) { c.color = FUNC_NAME(c.in[0].swizzle(1, 2, 3, 0).asUint()).asFloat(); }
1178 …xt& c) { c.color.yz() = FUNC_NAME(c.in[0].swizzle(3, 1).asUint(), c.in[1].swizzle(1, 0).asUint()…
1179 …) { c.color.xyz() = FUNC_NAME(c.in[0].swizzle(2, 0, 1).asUint(), c.in[1].swizzle(1, 2, 0).asUint(…
1180 …c) { c.color = FUNC_NAME(c.in[0].swizzle(1, 2, 3, 0).asUint(), c.in[1].swizzle(3, 2, 1, 0).asUint
1190 …yz() = FUNC_NAME(c.in[0].swizzle(3, 1).asUint(), c.in[1].swizzle(1, 0).asUint(), c.in[2].swizz…
1191 …= FUNC_NAME(c.in[0].swizzle(2, 0, 1).asUint(), c.in[1].swizzle(1, 2, 0).asUint(), c.in[2].swizzl…
[all …]
Des3fRandomFragmentOpTests.cpp420 return format.getColorThreshold().toIVec().asUint() + tcu::UVec4(2); // Default threshold. in getCompareThreshold()
422 return format.getColorThreshold().toIVec().asUint() in getCompareThreshold()
Des3fFragmentOutputTests.cpp729 …UVec4 fmtMaxVal = ((tcu::Vector<deUint64, 4>(1) << fmtBits.cast<deUint64>())-deUint64(1)).asUint(); in iterate()
737 const UVec4 step = maxVal / rangeDiv.asUint(); in iterate()
748 UVec4 c = step*swizzleVec(IVec4(x, y, ix, iy).asUint(), curInVec); in iterate()
Des3fBlendTests.cpp327 …t(8, 8, 8, 8) : m_context.getRenderTarget().getPixelFormat()).getColorThreshold().toIVec().asUint() in iterate()
Des3fFboTestUtil.cpp879 ctx.clearBufferuiv(GL_COLOR, 0, value.asUint().getPtr()); in clearColorBuffer()
Des3fTextureSpecificationTests.cpp147 return (IVec4(1) << (8-compareBits)).asUint(); in computeCompareThreshold()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderFramebufferFetchTests.cpp391 maxStr = de::toString(maxValue.asUint()); in genShaderSources()
392 minStr = de::toString(minValue.asUint()); in genShaderSources()
445 tcu::clear(data.getAccess(), color.asUint()); in genAttachementTexture()
515 m_gl.uniform4uiv(colorLocation, 1, color.asUint().getPtr()); in genUniformColor()
612 …nce.getAccess(), tcu::clamp(fbColor.asUint() + uniformColor.asUint(), formatMinValue.asUint(), for… in genReferenceTexture()
Des31fFboTestUtil.cpp433 ctx.clearBufferuiv(GL_COLOR, 0, value.asUint().getPtr()); in clearColorBuffer()
Des31fAdvancedBlendTests.cpp566 …t(8, 8, 8, 8) : m_context.getRenderTarget().getPixelFormat()).getColorThreshold().toIVec().asUint() in iterate()
Des31fShaderImageLoadStoreTests.cpp594 …UVec4 getPixelUint (int x, int y, int z) const { return getPixelInt(x, y, z).asUint();… in getPixelUint()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fRandomFragmentOpTests.cpp420 return format.getColorThreshold().toIVec().asUint() + tcu::UVec4(6); // Default threshold. in getCompareThreshold()
422 return format.getColorThreshold().toIVec().asUint() in getCompareThreshold()
Des2fBlendTests.cpp272 …mpareThreshold = m_context.getRenderTarget().getPixelFormat().getColorThreshold().toIVec().asUint() in iterate()
Des2fTextureSpecificationTests.cpp105 return (IVec4(1) << (8-compareBits)).asUint(); in computeCompareThreshold()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DBuildSPIRV.cpp1341 uint32_t asUint = static_cast<uint32_t>(value); in getIntConstant() local
1342 return getBasicConstantHelper(asUint, EbtInt, &mIntConstants); in getIntConstant()
1351 } asUint; in getFloatConstant() local
1352 asUint.f = value; in getFloatConstant()
1353 return getBasicConstantHelper(asUint.u, EbtFloat, &mFloatConstants); in getFloatConstant()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DBufferDataTest.cpp950 glUniform1ui(expectLoc, kInitialData[0].asUint()); in TEST_P()
969 glUniform1ui(expectLoc, kUpdateData1[0].asUint()); in TEST_P()
982 glUniform1ui(expectLoc, kUpdateData2[0].asUint()); in TEST_P()
DVulkanPerformanceCounterTest.cpp3105 glUniform1ui(expectLoc, kInitialData[0].asUint()); in TEST_P()
3126 glUniform1ui(expectLoc, kUpdateData1[0].asUint()); in TEST_P()
3139 glUniform1ui(expectLoc, kUpdateData2[0].asUint()); in TEST_P()
/third_party/vk-gl-cts/framework/common/
DtcuVector.hpp151 Vector<deUint32, Size> asUint (void) const { return cast<deUint32>(); } in asUint() function in tcu::Vector
DtcuAstcUtil.cpp1095 e0 = blueContract(v[1], v[3], v[5], 0xff).asUint(); in decodeColorEndpoints()
1096 e1 = blueContract(v[0], v[2], v[4], 0xff).asUint(); in decodeColorEndpoints()
DtcuTexLookupVerifier.cpp85 …return boolAll(logicalOr(lessThanEqual(absDiff(ref, result).asUint(), prec.colorThreshold), logica… in isColorValid()
/third_party/vk-gl-cts/modules/egl/
DteglNativeColorMappingTests.cpp255 const tcu::UVec4 nativeBitDepth(tcu::getTextureFormatBitDepth(result.getFormat()).asUint()); in validate()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
DANGLETest.h145 GLuint asUint() const;
DANGLETest.cpp239 GLuint GLColor::asUint() const in asUint() function in angle::GLColor
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DUtilsVk.cpp70 uint32_t asUint; in ValidateFloatOneAsUint() member
73 one.asUint = gl::Float32One; in ValidateFloatOneAsUint()