/external/deqp/modules/gles3/functional/ |
D | es3fShaderMatrixTests.cpp | 494 typename TypeTraits<DataT>::Type getInputValue (const ShaderEvalContext& evalCtx, int inputNdx); 496 …PUTTYPE_CONST, TYPE_FLOAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 497 …TYPE_CONST, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 498 …TYPE_CONST, TYPE_FLOAT_VEC3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 499 …TYPE_CONST, TYPE_FLOAT_VEC4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 501 …TYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 502 …PE_CONST, TYPE_FLOAT_MAT2X3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 503 …PE_CONST, TYPE_FLOAT_MAT2X4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 504 …PE_CONST, TYPE_FLOAT_MAT3X2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 505 …TYPE_CONST, TYPE_FLOAT_MAT3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument [all …]
|
D | es3fShaderSwitchTests.cpp | 75 static void evalSwitchStatic (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.sw… in evalSwitchStatic() argument 76 static void evalSwitchUniform (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.s… in evalSwitchUniform() argument 77 static void evalSwitchDynamic (ShaderEvalContext& evalCtx) in evalSwitchDynamic() argument 79 switch (int(deFloatFloor(evalCtx.coords.z()*1.5f + 2.0f))) in evalSwitchDynamic() 81 case 0: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,1,2); break; in evalSwitchDynamic() 82 case 1: evalCtx.color.xyz() = evalCtx.coords.swizzle(3,2,1); break; in evalSwitchDynamic() 83 case 2: evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); break; in evalSwitchDynamic() 84 case 3: evalCtx.color.xyz() = evalCtx.coords.swizzle(2,1,0); break; in evalSwitchDynamic() 85 default: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,0,0); break; in evalSwitchDynamic()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderMatrixTests.cpp | 489 typename TypeTraits<DataT>::Type getInputValue (const ShaderEvalContext& evalCtx, int inputNdx); 491 …PUTTYPE_CONST, TYPE_FLOAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 492 …TYPE_CONST, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 493 …TYPE_CONST, TYPE_FLOAT_VEC3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 494 …TYPE_CONST, TYPE_FLOAT_VEC4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 496 …TYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 497 …PE_CONST, TYPE_FLOAT_MAT2X3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 498 …PE_CONST, TYPE_FLOAT_MAT2X4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 499 …PE_CONST, TYPE_FLOAT_MAT3X2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 500 …TYPE_CONST, TYPE_FLOAT_MAT3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument [all …]
|
D | vktShaderRenderSwitchTests.cpp | 92 static void evalSwitchStatic (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.sw… in evalSwitchStatic() argument 93 static void evalSwitchUniform (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.s… in evalSwitchUniform() argument 94 static void evalSwitchDynamic (ShaderEvalContext& evalCtx) in evalSwitchDynamic() argument 96 switch (int(deFloatFloor(evalCtx.coords.z()*1.5f + 2.0f))) in evalSwitchDynamic() 98 case 0: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,1,2); break; in evalSwitchDynamic() 99 case 1: evalCtx.color.xyz() = evalCtx.coords.swizzle(3,2,1); break; in evalSwitchDynamic() 100 case 2: evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); break; in evalSwitchDynamic() 101 case 3: evalCtx.color.xyz() = evalCtx.coords.swizzle(2,1,0); break; in evalSwitchDynamic() 102 default: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,0,0); break; in evalSwitchDynamic()
|
D | vktShaderRender.cpp | 2323 ShaderEvalContext evalCtx (quadGrid); in computeVertexReference() local 2334 evalCtx.reset(sx, sy); in computeVertexReference() 2335 m_evaluator->evaluate(evalCtx); in computeVertexReference() 2336 DE_ASSERT(!evalCtx.isDiscarded); // Discard is not available in vertex shader. in computeVertexReference() 2337 tcu::Vec4 color = evalCtx.color; in computeVertexReference() 2410 ShaderEvalContext evalCtx (quadGrid); in computeFragmentReference() local 2419 evalCtx.reset(sx, sy); in computeFragmentReference() 2420 m_evaluator->evaluate(evalCtx); in computeFragmentReference() 2422 tcu::Vec4 color = evalCtx.isDiscarded ? m_clearColor : evalCtx.color; in computeFragmentReference()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderMatrixTests.cpp | 336 typename TypeTraits<DataT>::Type getInputValue (const ShaderEvalContext& evalCtx, int inputNdx); 338 …PUTTYPE_CONST, TYPE_FLOAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 339 …TYPE_CONST, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 340 …TYPE_CONST, TYPE_FLOAT_VEC3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 341 …TYPE_CONST, TYPE_FLOAT_VEC4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 342 …TYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 343 …TYPE_CONST, TYPE_FLOAT_MAT3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 344 …TYPE_CONST, TYPE_FLOAT_MAT4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx)… in getInputValue() argument 346 …NAMIC, TYPE_FLOAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(inputNdx); return… in getInputValue() argument 347 …IC, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(inputNdx); return… in getInputValue() argument [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderSwitchTests.cpp | 68 static void evalSwitchStatic(ShaderEvalContext& evalCtx) in evalSwitchStatic() argument 70 evalCtx.color.xyz() = evalCtx.coords.swizzle(1, 2, 3); in evalSwitchStatic() 72 static void evalSwitchUniform(ShaderEvalContext& evalCtx) in evalSwitchUniform() argument 74 evalCtx.color.xyz() = evalCtx.coords.swizzle(1, 2, 3); in evalSwitchUniform() 76 static void evalSwitchDynamic(ShaderEvalContext& evalCtx) in evalSwitchDynamic() argument 78 switch (int(deFloatFloor(evalCtx.coords.z() * 1.5f + 2.0f))) in evalSwitchDynamic() 81 evalCtx.color.xyz() = evalCtx.coords.swizzle(0, 1, 2); in evalSwitchDynamic() 84 evalCtx.color.xyz() = evalCtx.coords.swizzle(3, 2, 1); in evalSwitchDynamic() 87 evalCtx.color.xyz() = evalCtx.coords.swizzle(1, 2, 3); in evalSwitchDynamic() 90 evalCtx.color.xyz() = evalCtx.coords.swizzle(2, 1, 0); in evalSwitchDynamic() [all …]
|
D | glcShaderRenderCase.cpp | 696 ShaderEvalContext evalCtx(quadGrid); in computeVertexReference() local 707 evalCtx.reset(sx, sy); in computeVertexReference() 708 m_evaluator.evaluate(evalCtx); in computeVertexReference() 709 DE_ASSERT(!evalCtx.isDiscarded); // Discard is not available in vertex shader. in computeVertexReference() 710 Vec4 color = evalCtx.color; in computeVertexReference() 785 ShaderEvalContext evalCtx(quadGrid); in computeFragmentReference() local 794 evalCtx.reset(sx, sy); in computeFragmentReference() 795 m_evaluator.evaluate(evalCtx); in computeFragmentReference() 797 Vec4 color = evalCtx.isDiscarded ? m_clearColor : evalCtx.color; in computeFragmentReference()
|
/external/deqp/modules/glshared/ |
D | glsShaderRenderCase.cpp | 643 ShaderEvalContext evalCtx (quadGrid); in computeVertexReference() local 654 evalCtx.reset(sx, sy); in computeVertexReference() 655 m_evaluator.evaluate(evalCtx); in computeVertexReference() 656 DE_ASSERT(!evalCtx.isDiscarded); // Discard is not available in vertex shader. in computeVertexReference() 657 Vec4 color = evalCtx.color; in computeVertexReference() 728 ShaderEvalContext evalCtx (quadGrid); in computeFragmentReference() local 737 evalCtx.reset(sx, sy); in computeFragmentReference() 738 m_evaluator.evaluate(evalCtx); in computeFragmentReference() 740 Vec4 color = evalCtx.isDiscarded ? m_clearColor : evalCtx.color; in computeFragmentReference()
|
/external/deqp/framework/randomshaders/ |
D | rsgExpression.cpp | 818 void ConstructorOp::evaluate (ExecutionContext& evalCtx) in evaluate() argument 822 (*i)->evaluate(evalCtx); in evaluate() 961 void AssignOp::evaluate (ExecutionContext& evalCtx) in evaluate() argument 964 m_lvalueExpr->evaluate(evalCtx); in evaluate() 967 m_rvalueExpr->evaluate(evalCtx); in evaluate() 972 …assignMasked(m_lvalueExpr->getLValue(), m_value.getValue(m_valueRange.getType()), evalCtx.getExecu… in evaluate() 1243 void VariableAccess::evaluate (ExecutionContext& evalCtx) in evaluate() argument 1245 m_valueAccess = evalCtx.getValue(m_variable); in evaluate()
|