Home
last modified time | relevance | path

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

123

/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureSpecificationTests.cpp672 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
673 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
731 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
732 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
772 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
773 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
812 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
813 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
870 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
871 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
[all …]
Des3fFboMultisampleTests.cpp137 …ader.setGradient(*getCurrentContext(), gradShaderID, colorFmtInfo.valueMin, colorFmtInfo.valueMax); in render()
163 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(r,g,b,a) * (colorFmtInfo.valueMax-col… in render()
194 …rrentContext(), flatShaderID, Vec4(0.0f, 0.0f, c, 1.0f) * (colorFmtInfo.valueMax-colorFmtInfo.valu… in render()
218 …rrentContext(), flatShaderID, Vec4(0.0f, c, 0.0f, 1.0f) * (colorFmtInfo.valueMax-colorFmtInfo.valu… in render()
Des3fFboColorbufferTests.cpp169 Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); in render()
230 …pes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt0), fmtInfo0.valueMax-fmtInfo0.valueMin… in render()
231 …pes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt1), fmtInfo1.valueMax-fmtInfo1.valueMin… in render()
366 …Types() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin,… in render()
495 …Types() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin,… in render()
621 …Types() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin,… in render()
874 const Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); in render()
940 const Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); in render()
1002 const Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); in render()
Des3fTextureFormatTests.cpp158 << ",\n fill with " << formatGradient(&spec.valueMin, &spec.valueMax) << " gradient" in init()
167 …::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init()
328 << ",\n fill with " << formatGradient(&spec.valueMin, &spec.valueMax) << " gradient" in init()
343 … case 0: gMin = spec.valueMin.swizzle(0, 1, 2, 3); gMax = spec.valueMax.swizzle(0, 1, 2, 3); break; in init()
344 … case 1: gMin = spec.valueMin.swizzle(2, 1, 0, 3); gMax = spec.valueMax.swizzle(2, 1, 0, 3); break; in init()
345 … case 2: gMin = spec.valueMin.swizzle(1, 2, 0, 3); gMax = spec.valueMax.swizzle(1, 2, 0, 3); break; in init()
346 … case 3: gMin = spec.valueMax.swizzle(0, 1, 2, 3); gMax = spec.valueMin.swizzle(0, 1, 2, 3); break; in init()
347 … case 4: gMin = spec.valueMax.swizzle(2, 1, 0, 3); gMax = spec.valueMin.swizzle(2, 1, 0, 3); break; in init()
348 … case 5: gMin = spec.valueMax.swizzle(1, 2, 0, 3); gMax = spec.valueMin.swizzle(1, 2, 0, 3); break; in init()
525 …::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init()
[all …]
Des3fFramebufferBlitTests.cpp358 …cIsGreater = tcu::greaterThan(srcFmtRangeInfo.valueMax-srcFmtRangeInfo.valueMin, dstFmtRangeInfo. in render()
360 …tcu::select(dstFmtRangeInfo.valueMax, srcFmtRangeInfo.valueMax, tcu::logicalAnd(copyMask, srcIsG… in render()
364 …tcu::select(dstFmtRangeInfo.valueMax, srcFmtRangeInfo.valueMax, tcu::logicalOr(tcu::logicalNot(c… in render()
406 …gradientToDstShader.setGradient(*getCurrentContext(), gradShaderDstID, dstRangeInfo.valueMax, dstR… in render()
411 …r.setGradient(*getCurrentContext(), gradShaderSrcID, srcRangeInfo.valueMin, dstRangeInfo.valueMax); in render()
Des3fFboInvalidateTests.cpp468 tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; in render()
628 …ader.setGradient(*getCurrentContext(), gradShaderID, colorFmtInfo.valueMin, colorFmtInfo.valueMax); in render()
835 tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; in render()
993 …ader.setGradient(*getCurrentContext(), gradShaderID, colorFmtInfo.valueMin, colorFmtInfo.valueMax); in render()
1213 const tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; in render()
Des3fShaderDerivateTests.cpp340 …t glu::Precision precision, const tcu::Vec4& valueMin, const tcu::Vec4& valueMax, const tcu::Vec4&… in getDerivateThreshold() argument
344 const tcu::UVec4 maxValueExp = max(getCompExpBits(valueMin), getCompExpBits(valueMax)); in getDerivateThreshold()
354 …t glu::Precision precision, const tcu::Vec4& valueMin, const tcu::Vec4& valueMax, const tcu::Vec4&… in getDerivateThresholdWarning() argument
358 const tcu::UVec4 maxValueExp = max(getCompExpBits(valueMin), getCompExpBits(valueMax)); in getDerivateThresholdWarning()
Des3fTextureSwizzleTests.cpp134 …::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureFormatTests.cpp120 << ",\n fill with " << formatGradient(&spec.valueMin, &spec.valueMax) << " gradient" in init()
127 …::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init()
269 << ",\n fill with " << formatGradient(&spec.valueMin, &spec.valueMax) << " gradient" in init()
284 … case 0: gMin = spec.valueMin.swizzle(0, 1, 2, 3); gMax = spec.valueMax.swizzle(0, 1, 2, 3); break; in init()
285 … case 1: gMin = spec.valueMin.swizzle(2, 1, 0, 3); gMax = spec.valueMax.swizzle(2, 1, 0, 3); break; in init()
286 … case 2: gMin = spec.valueMin.swizzle(1, 2, 0, 3); gMax = spec.valueMax.swizzle(1, 2, 0, 3); break; in init()
287 … case 3: gMin = spec.valueMax.swizzle(0, 1, 2, 3); gMax = spec.valueMin.swizzle(0, 1, 2, 3); break; in init()
288 … case 4: gMin = spec.valueMax.swizzle(2, 1, 0, 3); gMax = spec.valueMin.swizzle(2, 1, 0, 3); break; in init()
289 … case 5: gMin = spec.valueMax.swizzle(1, 2, 0, 3); gMax = spec.valueMin.swizzle(1, 2, 0, 3); break; in init()
Des2fShaderTextureFunctionTests.cpp334 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture()
364 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fDrawBuffersIndexedTests.cpp340 …const deInt32 red = deInt32(info.valueMin.x() + (info.valueMax.x() - info.valueMin.x()) * redScal… in clearRenderbuffer()
341 …const deInt32 green = deInt32(info.valueMin.y() + (info.valueMax.y() - info.valueMin.y()) * greenS… in clearRenderbuffer()
342 …const deInt32 blue = deInt32(info.valueMin.z() + (info.valueMax.z() - info.valueMin.z()) * blueSca… in clearRenderbuffer()
343 …const deInt32 alpha = deInt32(info.valueMin.w() + (info.valueMax.w() - info.valueMin.w()) * alphaS… in clearRenderbuffer()
353 const deUint32 red = deUint32(info.valueMax.x() * redScale); in clearRenderbuffer()
354 const deUint32 green = deUint32(info.valueMax.y() * greenScale); in clearRenderbuffer()
355 const deUint32 blue = deUint32(info.valueMax.z() * blueScale); in clearRenderbuffer()
356 const deUint32 alpha = deUint32(info.valueMax.w() * alphaScale); in clearRenderbuffer()
366 const float red = info.valueMin.x() + (info.valueMax.x() - info.valueMin.x()) * redScale; in clearRenderbuffer()
367 const float green = info.valueMin.y() + (info.valueMax.y() - info.valueMin.y()) * greenScale; in clearRenderbuffer()
[all …]
Des31fTextureFormatTests.cpp175 …::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init()
319 tcu::Vec4 colorA (spec.valueMin.x(), spec.valueMax.y(), spec.valueMin.z(), spec.valueMax.w()); in init()
320 tcu::Vec4 colorB (spec.valueMax.x(), spec.valueMin.y(), spec.valueMax.z(), spec.valueMin.w()); in init()
Des31fTextureSpecificationTests.cpp344 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
345 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
384 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
385 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
446 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture()
541 …ize, m_depth, rowPitch, slicePitch, &data[0]), m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture()
552 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture()
Des31fFboColorbufferTests.cpp135 …Types() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin,… in render()
228 …Types() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin,… in render()
Des31fTextureBorderClampTests.cpp308 …tcu::fillWithComponentGradients(tcu::flipYAccess(stencilAccess), texFormatInfo.valueMax, texFormat… in genDummyTexture()
327 const tcu::Vec4 rampHigh = texFormatInfo.valueMax; in genDummyTexture()
400 …POINT: return rr::GenericVec4(texFormatInfo.valueMin + normalizedRange * texFormatInfo.valueMax); in mapToFormatColorUnits()
401 … return rr::GenericVec4(tcu::mix(texFormatInfo.valueMin, texFormatInfo.valueMax, normalizedRange)… in mapToFormatColorUnits()
402 … return rr::GenericVec4(tcu::mix(texFormatInfo.valueMin, texFormatInfo.valueMax, normalizedRange)… in mapToFormatColorUnits()
1943 const float maxChannelValue = (channelMask[0]) ? (texFormatInfo.valueMax[0]) in init()
1944 : (channelMask[1]) ? (texFormatInfo.valueMax[1]) in init()
1945 : (channelMask[2]) ? (texFormatInfo.valueMax[2]) in init()
1946 : (texFormatInfo.valueMax[3]); in init()
Des31fShaderFramebufferFetchTests.cpp253 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in scaleColorValue()
384 tcu::Vec4 maxValue = getTextureFormatInfo(m_texFmt).valueMax; in genShaderSources()
606 tcu::Vec4 formatMaxValue = getTextureFormatInfo(m_texFmt).valueMax; in genReferenceTexture()
/third_party/vk-gl-cts/framework/common/
DtcuTextureUtil.hpp91 Vec4 valueMax; member
97 , valueMax (valueMax_) in TextureFormatInfo()
DtcuTextureUtil.cpp1724 const float valueMax = 1.0f; in getTextureBorderColorFloat() local
1746 result[c] = de::clamp(sampler.borderColor.getAccess<float>()[(int)map], valueMin, valueMax); in getTextureBorderColorFloat()
1759 const IVec4 valueMax = getNBitSignedIntegerVec4MaxValue(channelBits); in getTextureBorderColorInt() local
1775 …:clamp(sampler.borderColor.getAccess<deInt32>()[(int)map], valueMin[(int)map], valueMax[(int)map]); in getTextureBorderColorInt()
1787 const UVec4 valueMax = getNBitUnsignedIntegerVec4MaxValue(channelBits); in getTextureBorderColorUint() local
1803 result[c] = de::min(sampler.borderColor.getAccess<deUint32>()[(int)map], valueMax[(int)map]); in getTextureBorderColorUint()
DtcuRasterizationVerifier.cpp1887 …const tcu::Vec4 valueMax = de::clamp(range.max.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors… in verifyLineGroupPixelIndependentInterpolation() local
1892 …const tcu::Vec3 colorMaxF (de::clamp(valueMax.x() * (float)formatLimit.x(), 0.0f, (float)form… in verifyLineGroupPixelIndependentInterpolation()
1893 de::clamp(valueMax.y() * (float)formatLimit.y(), 0.0f, (float)formatLimit.y()), in verifyLineGroupPixelIndependentInterpolation()
1894 de::clamp(valueMax.z() * (float)formatLimit.z(), 0.0f, (float)formatLimit.z())); in verifyLineGroupPixelIndependentInterpolation()
1921 candidate.valueRangeMax = valueMax.swizzle(0, 1, 2); in verifyLineGroupPixelIndependentInterpolation()
2241 …const tcu::Vec4 valueMax = de::clamp(range.max.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors… in verifySinglesampleWideLineGroupInterpolation() local
2246 …const tcu::Vec3 colorMaxF (de::clamp(valueMax.x() * (float)formatLimit.x(), 0.0f, (float)form… in verifySinglesampleWideLineGroupInterpolation()
2247 de::clamp(valueMax.y() * (float)formatLimit.y(), 0.0f, (float)formatLimit.y()), in verifySinglesampleWideLineGroupInterpolation()
2248 de::clamp(valueMax.z() * (float)formatLimit.z(), 0.0f, (float)formatLimit.z())); in verifySinglesampleWideLineGroupInterpolation()
2276 interpolationCandidate.valueRangeMax = valueMax.swizzle(0, 1, 2); in verifySinglesampleWideLineGroupInterpolation()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringTests.cpp213 cScale = fmtInfoStencil.valueMax - fmtInfoStencil.valueMin; in Texture2DFilteringTestInstance()
218 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in Texture2DFilteringTestInstance()
429 cScale = fmtInfoStencil.valueMax - fmtInfoStencil.valueMin; in TextureCubeFilteringTestInstance()
434 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in TextureCubeFilteringTestInstance()
672 cScale = fmtInfoStencil.valueMax - fmtInfoStencil.valueMin; in Texture2DArrayFilteringTestInstance()
677 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in Texture2DArrayFilteringTestInstance()
890 cScale = fmtInfoStencil.valueMax - fmtInfoStencil.valueMin; in Texture3DFilteringTestInstance()
895 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in Texture3DFilteringTestInstance()
/third_party/vk-gl-cts/framework/opengl/
DgluTextureTestUtil.hpp422 LogGradientFmt (const tcu::Vec4* min_, const tcu::Vec4* max_) : valueMin(min_), valueMax(max_) {} in LogGradientFmt()
424 const tcu::Vec4* valueMax; member
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/
DesextcTextureShadowLodFunctionsTest.cpp486 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture()
521 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture()
561 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture()
626 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pTextureCases.cpp204 fmtInfo.valueMax.swizzle(sw[0], sw[1], sw[2], sw[3])); in init()
/third_party/libxml2/include/libxml/
Dxpath.h386 int valueMax; /* max number of values stacked */ member
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWorkgroupStorageTests.cpp189 fillWithRandomColorTiles(level, fmtInfo.valueMin, fmtInfo.valueMax, getSeedValue(m_params)); in createTestTexture2D()

123