Home
last modified time | relevance | path

Searched refs:m_precision (Results 1 – 14 of 14) sorted by relevance

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderAtomicOpTests.cpp82 const Precision m_precision; member in deqp::gles31::Functional::ShaderAtomicOpCase
101 , m_precision (precision) in ShaderAtomicOpCase()
117 const char* precName = getPrecisionName(m_precision); in init()
268 const int maxVal = m_precision == PRECISION_LOWP ? 2 : 32; in getInputs()
415 m_initialValue = m_precision == PRECISION_LOWP ? 100 : 1000; in ShaderAtomicMinCase()
423 const int maxVal = m_precision == PRECISION_LOWP ? 100 : 1000; in getInputs()
451 if (!intEqualsAfterUintCast(minValue, groupOutput, m_precision)) in verify()
466 if (!containsAfterUintCast(inValues, outputValue, m_precision) && in verify()
467 !intEqualsAfterUintCast((deInt32)m_initialValue, outputValue, m_precision)) in verify()
479 if (!containsAfterUintCast(outValues, (int)m_initialValue, m_precision)) in verify()
[all …]
Des31fShaderSharedVarTests.cpp86 const Precision m_precision; member in deqp::gles31::Functional::SharedBasicVarCase
104 , m_precision (precision) in SharedBasicVarCase()
118 const char* precName = m_precision != glu::PRECISION_LAST ? getPrecisionName(m_precision) : ""; in init()
195 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; in iterate()
214 const int maxInt = m_precision == glu::PRECISION_LOWP ? 64 : 1024; in iterate()
233 const deUint32 maxInt = m_precision == glu::PRECISION_LOWP ? 128 : 1024; in iterate()
269 const int maxInt = m_precision == glu::PRECISION_LOWP ? 2 : 1024; in iterate()
Des31fShaderPackingFunctionTests.cpp125 , m_precision (precision) in PackSnorm2x16Case()
138 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate()
139 m_precision == glu::PRECISION_MEDIUMP ? 33 : // (2^-10) * (2^15) + 1 in iterate()
140 m_precision == glu::PRECISION_LOWP ? 129 : 0; // (2^-8) * (2^15) + 1 in iterate()
221 glu::Precision m_precision; member in deqp::gles31::Functional::PackSnorm2x16Case
316 , m_precision (precision) in PackUnorm2x16Case()
329 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate()
330 m_precision == glu::PRECISION_MEDIUMP ? 65 : // (2^-10) * (2^16) + 1 in iterate()
331 m_precision == glu::PRECISION_LOWP ? 257 : 0; // (2^-8) * (2^16) + 1 in iterate()
412 glu::Precision m_precision; member in deqp::gles31::Functional::PackUnorm2x16Case
[all …]
/third_party/vk-gl-cts/framework/randomshaders/
DrsgVariableType.hpp138 Precision getPrecision (void) const { return m_precision; } in getPrecision()
170 Precision m_precision; member in rsg::VariableType
179 , m_precision (PRECISION_NONE) in VariableType()
188 , m_precision (PRECISION_NONE) in VariableType()
198 , m_precision (PRECISION_NONE) in VariableType()
208 , m_precision (PRECISION_NONE) in VariableType()
DrsgVariableType.cpp41 m_precision = other.m_precision; in operator =()
63 if (m_precision != other.m_precision) in operator !=()
182 DE_ASSERT(m_precision == PRECISION_NONE); // \todo [pyry] Precision in getElementType()
206 switch (m_precision) in tokenizeShortType()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderPackingFunctionTests.cpp138 , m_precision (precision) in PackSnorm2x16CaseInstance()
147 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate()
148 m_precision == glu::PRECISION_MEDIUMP ? 33 : // (2^-10) * (2^15) + 1 in iterate()
149 m_precision == glu::PRECISION_LOWP ? 129 : 0; // (2^-8) * (2^15) + 1 in iterate()
226 const glu::Precision m_precision; member in vkt::shaderexecutor::PackSnorm2x16CaseInstance
234 , m_precision (precision) in PackSnorm2x16Case()
244 return new PackSnorm2x16CaseInstance(ctx, m_shaderType, m_spec, m_precision, getName()); in createInstance()
248 const glu::Precision m_precision; member in vkt::shaderexecutor::PackSnorm2x16Case
357 , m_precision (precision) in PackUnorm2x16CaseInstance()
366 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp107 glu::Precision m_precision; member in deqp::gles2::Accuracy::InterpolationCase
115 , m_precision (precision) in InterpolationCase()
186 templateParams["PRECISION"] = glu::getPrecisionName(m_precision); in iterate()
194 …if (m_precision == glu::PRECISION_HIGHP && !m_context.getContextInfo().isFragmentHighPrecisionSupp… in iterate()
227 TCU_CHECK(isValidFloatVec(m_precision, scale)); in iterate()
228 TCU_CHECK(isValidFloatVec(m_precision, bias)); in iterate()
231 TCU_CHECK(isValidFloat(m_precision, coords[ndx])); in iterate()
232 TCU_CHECK(isValidFloat(m_precision, coords[ndx] * scale[ndx % 3] + bias[ndx % 3])); in iterate()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp109 glu::Precision m_precision; member in deqp::gles3::Accuracy::InterpolationCase
117 , m_precision (precision) in InterpolationCase()
192 templateParams["PRECISION"] = glu::getPrecisionName(m_precision); in iterate()
200 …if (m_precision == glu::PRECISION_HIGHP && !m_context.getContextInfo().isFragmentHighPrecisionSupp… in iterate()
233 TCU_CHECK(isValidFloatVec(m_precision, scale)); in iterate()
234 TCU_CHECK(isValidFloatVec(m_precision, bias)); in iterate()
237 TCU_CHECK(isValidFloat(m_precision, coords[ndx])); in iterate()
238 TCU_CHECK(isValidFloat(m_precision, coords[ndx] * scale[ndx % 3] + bias[ndx % 3])); in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderDerivateTests.cpp604 glu::Precision m_precision; member in deqp::gles3::Functional::TriangleDerivateCase
626 , m_precision (glu::PRECISION_LAST) in TriangleDerivateCase()
939 m_precision = glu::PRECISION_HIGHP; in ConstantDerivateCase()
941 m_coordPrecision = m_precision; in ConstantDerivateCase()
957 fragmentParams["PRECISION"] = glu::getPrecisionName(m_precision); in init()
1008 m_precision = precision; in LinearDerivateCase()
1010 m_coordPrecision = m_precision; in LinearDerivateCase()
1026 …mentParams["OUTPUT_PREC"] = glu::getPrecisionName(packToInt ? glu::PRECISION_HIGHP : m_precision); in init()
1027 fragmentParams["PRECISION"] = glu::getPrecisionName(m_precision); in init()
1048 switch (m_precision) in init()
[all …]
Des3fShaderPackingFunctionTests.cpp125 , m_precision (precision) in PackSnorm2x16Case()
138 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate()
139 m_precision == glu::PRECISION_MEDIUMP ? 33 : // (2^-10) * (2^15) + 1 in iterate()
140 m_precision == glu::PRECISION_LOWP ? 129 : 0; // (2^-8) * (2^15) + 1 in iterate()
221 glu::Precision m_precision; member in deqp::gles3::Functional::PackSnorm2x16Case
316 , m_precision (precision) in PackUnorm2x16Case()
329 const int maxDiff = m_precision == glu::PRECISION_HIGHP ? 1 : // Rounding only. in iterate()
330 m_precision == glu::PRECISION_MEDIUMP ? 65 : // (2^-10) * (2^16) + 1 in iterate()
331 m_precision == glu::PRECISION_LOWP ? 257 : 0; // (2^-8) * (2^16) + 1 in iterate()
412 glu::Precision m_precision; member in deqp::gles3::Functional::PackUnorm2x16Case
Des3fShaderPrecisionTests.cpp199 glu::Precision m_precision; member in deqp::gles3::Functional::ShaderFloatPrecisionCase
219 , m_precision (precision) in ShaderFloatPrecisionCase()
246 …m_program = createFloatPrecisionEvalProgram(m_context.getRenderContext(), m_precision, m_op.c_str(… in init()
296 const int mantissaBits = m_precision == glu::PRECISION_HIGHP ? 23 : 10; in compare()
304 const int roundingUlpError = m_precision == glu::PRECISION_HIGHP ? 1 : 3; in compare()
450 glu::Precision m_precision; member in deqp::gles3::Functional::ShaderIntPrecisionCase
471 , m_precision (precision) in ShaderIntPrecisionCase()
499 …tUintPrecisionEvalProgram(m_context.getRenderContext(), glu::TYPE_INT, m_precision, m_op.c_str(), … in init()
644 glu::Precision m_precision; member in deqp::gles3::Functional::ShaderUintPrecisionCase
665 , m_precision (precision) in ShaderUintPrecisionCase()
[all …]
/third_party/vk-gl-cts/modules/gles2/performance/
Des2pShaderOperatorTests.cpp1123 const glu::Precision m_precision; member in deqp::gles2::Performance::__anon67b516ff0111::BinaryOpCase
1133 , m_precision (precision) in BinaryOpCase()
1143 const char* const precision = glu::getPrecisionName(m_precision); in generateSingleProgramData()
1144 …const char* const inputPrecision = glu::isDataTypeIntOrIVec(m_type) && m_precision == glu::PRECISI… in generateSingleProgramData()
1416 const glu::Precision m_precision; member in deqp::gles2::Performance::__anon67b516ff0111::FunctionCase
1438 , m_precision (precision) in FunctionCase()
1469 const char* const precision = glu::getPrecisionName(m_precision); in generateSingleProgramData()
1483 …if (inputPrecision == DE_NULL && isDataTypeIntOrIVec(m_paramTypes[i]) && m_precision == glu::PRECI… in generateSingleProgramData()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pShaderOperatorTests.cpp1123 const glu::Precision m_precision; member in deqp::gles3::Performance::__anon27059f010111::BinaryOpCase
1133 , m_precision (precision) in BinaryOpCase()
1143 const char* const precision = glu::getPrecisionName(m_precision); in generateSingleProgramData()
1144 …const char* const inputPrecision = glu::isDataTypeIntOrIVec(m_type) && m_precision == glu::PRECISI… in generateSingleProgramData()
1420 const glu::Precision m_precision; member in deqp::gles3::Performance::__anon27059f010111::FunctionCase
1442 , m_precision (precision) in FunctionCase()
1473 const char* const precision = glu::getPrecisionName(m_precision); in generateSingleProgramData()
1487 …if (inputPrecision == DE_NULL && isDataTypeIntOrIVec(m_paramTypes[i]) && m_precision == glu::PRECI… in generateSingleProgramData()
/third_party/vk-gl-cts/modules/glshared/
DglsBuiltinPrecisionTests.cpp2438 , m_precision (precisionULPs) in ArcTrigFunc()
2451 return ctx.format.ulp(ret, m_precision); in precision()
2463 const double m_precision; member in deqp::gls::BuiltinPrecisionTests::Functions::ArcTrigFunc