/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderMatrixTests.cpp | 336 typename TypeTraits<DataT>::Type getInputValue (const ShaderEvalContext& evalCtx, int inputNdx); 338 template <> inline float getInputValue<INPUTTYPE_CONST, TYPE_FLOAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInFloat[inputNdx]; } argument 339 template <> inline tcu::Vec2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec2[inputNdx]; } argument 340 template <> inline tcu::Vec3 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_VEC3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec3[inputNdx]; } argument 341 template <> inline tcu::Vec4 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_VEC4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec4[inputNdx]; } argument 342 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNRE argument 343 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 344 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 346 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 347 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 348 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 349 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 351 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 360 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 370 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument [all...] |
H A D | es2fShaderOperatorTests.cpp | 568 for (int inputNdx = 0; inputNdx < spec.numInputs; inputNdx++) 570 const ShaderValue& v = spec.inputs[inputNdx]; 582 switch ((rowNdx + inputNdx) % 4) 594 m_userAttribTransforms[inputNdx] = attribMatrix; 1312 for (int inputNdx = 0; inputNdx < MAX_INPUTS; inputNdx++) 1314 const Value& v = (inputNdx [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderMatrixTests.cpp | 489 typename TypeTraits<DataT>::Type getInputValue (const ShaderEvalContext& evalCtx, int inputNdx); 491 template <> inline float getInputValue<INPUTTYPE_CONST, TYPE_FLOAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInFloat[inputNdx]; } argument 492 template <> inline tcu::Vec2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec2[inputNdx]; } argument 493 template <> inline tcu::Vec3 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_VEC3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec3[inputNdx]; } argument 494 template <> inline tcu::Vec4 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_VEC4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec4[inputNdx]; } argument 496 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNRE argument 497 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 498 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 499 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 500 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 501 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 502 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 503 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 504 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 506 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 507 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 508 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 509 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 511 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 520 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 529 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 538 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 548 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 558 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 568 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 579 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 590 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument [all...] |
H A D | vktShaderRenderOperatorTests.cpp | 572 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) 574 const ShaderValue& v = m_spec.inputs[inputNdx]; 588 switch ((rowNdx + inputNdx) % 4) 600 m_userAttribTransforms[inputNdx] = attribMatrix; 602 const deUint32 location = 4u + inputNdx; 603 switch(inputNdx) 689 for (int inputNdx = 0; inputNdx < m_spe 704 vtx << "layout(location = " << 4 + inputNdx << ") in " << inputPrecision[inputNdx] << " vec4 a_in" << inputNdx << ";\\n"; local 718 vtx << "layout(location = " << inputNdx + 1 << ") out " << inputPrecision[inputNdx] << " vec4 v_in" << inputNdx << ";\\n"; local 719 frag << "layout(location = " << inputNdx + 1 << ") in " << inputPrecision[inputNdx] << " vec4 v_in" << inputNdx << ";\\n"; local 747 op << typeName << " in" << inputNdx << " = "; local 819 vtx << " v_in" << inputNdx << " = a_in" << inputNdx << ";\\n"; local [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderMatrixTests.cpp | 494 typename TypeTraits<DataT>::Type getInputValue (const ShaderEvalContext& evalCtx, int inputNdx); 496 template <> inline float getInputValue<INPUTTYPE_CONST, TYPE_FLOAT> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInFloat[inputNdx]; } argument 497 template <> inline tcu::Vec2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_VEC2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec2[inputNdx]; } argument 498 template <> inline tcu::Vec3 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_VEC3> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec3[inputNdx]; } argument 499 template <> inline tcu::Vec4 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_VEC4> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNREF(evalCtx); return s_constInVec4[inputNdx]; } argument 501 template <> inline tcu::Mat2 getInputValue<INPUTTYPE_CONST, TYPE_FLOAT_MAT2> (const ShaderEvalContext& evalCtx, int inputNdx) { DE_UNRE argument 502 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 503 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 504 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 505 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 506 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 507 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 508 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 509 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 511 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 512 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 513 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 514 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 516 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 525 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 534 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 543 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 553 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 563 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 573 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 584 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument 595 getInputValue(const ShaderEvalContext& evalCtx, int inputNdx) argument [all...] |
H A D | es3fFboTestUtil.cpp | 324 void Texture2DShader::setUnit (int inputNdx, int unitNdx) argument 326 m_inputs[inputNdx].unitNdx = unitNdx; 329 void Texture2DShader::setTexScaleBias (int inputNdx, const Vec4& scale, const Vec4& bias) argument 331 m_inputs[inputNdx].scale = scale; 332 m_inputs[inputNdx].bias = bias;
|
H A D | es3fShaderOperatorTests.cpp | 847 for (int inputNdx = 0; inputNdx < m_spec.numInputs; inputNdx++) 849 const ShaderValue& v = m_spec.inputs[inputNdx]; 863 switch ((rowNdx + inputNdx) % 4) 875 m_userAttribTransforms[inputNdx] = attribMatrix; 1952 for (int inputNdx = 0; inputNdx < MAX_INPUTS; inputNdx++) 1954 const Value& prevV = (inputNdx [all...] |
/external/deqp/modules/gles2/performance/ |
H A D | es2pShaderOperatorTests.cpp | 1594 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) 1596 const string inputName = "in" + de::toString(calcNdx) + (char)('a'+inputNdx); 1597 const string incName = string() + "u_inc" + (char)('A'+inputNdx); 1598 const string incExpr = incrementExpr(incName, m_paramTypes[inputNdx], m_useNearlyConstantInputs); 1600 op << "\t\t\t" << inputName << " = " << sumExpr(inputName, incExpr, m_paramTypes[inputNdx]) << ";\n"; 1641 for (int inputNdx = 0; inputNdx < numParams; inputNdx [all...] |
/external/deqp/modules/gles3/performance/ |
H A D | es3pShaderOperatorTests.cpp | 1602 for (int inputNdx = 0; inputNdx < numParams; inputNdx++) 1604 const string inputName = "in" + de::toString(calcNdx) + (char)('a'+inputNdx); 1605 const string incName = string() + "u_inc" + (char)('A'+inputNdx); 1606 const string incExpr = incrementExpr(incName, m_paramTypes[inputNdx], m_useNearlyConstantInputs); 1608 op << "\t\t\t" << inputName << " = " << sumExpr(inputName, incExpr, m_paramTypes[inputNdx]) << ";\n"; 1649 for (int inputNdx = 0; inputNdx < numParams; inputNdx [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmComputeShaderCase.cpp | 307 for (size_t inputNdx = 0; inputNdx < m_shaderSpec.inputs.size(); ++inputNdx) 310 const BufferSp& input = m_shaderSpec.inputs[inputNdx];
|
/external/deqp/modules/glshared/ |
H A D | glsShaderExecUtil.cpp | 597 for (int inputNdx = 0; inputNdx < (int)m_inputs.size(); inputNdx++) 599 const Symbol& symbol = m_inputs[inputNdx]; 601 const void* ptr = inputs[inputNdx]; 1040 for (size_t inputNdx = 0; inputNdx < m_inputs.size(); ++inputNdx) 1042 const glu::VarType& varType = m_inputs[inputNdx].varType; 1043 const VarLayout& layout = m_inputLayout[inputNdx]; [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fShaderCommonFunctionTests.cpp | 2018 for (int inputNdx = 0; inputNdx < 3; inputNdx++) 2021 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; 2030 for (int inputNdx = 0; inputNdx < 3; inputNdx++) 2031 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[inputNdx] + offs, numScalars); 2035 for (int inputNdx [all...] |
H A D | es31fFboTestUtil.cpp | 167 void Texture2DShader::setUnit (int inputNdx, int unitNdx) argument 169 m_inputs[inputNdx].unitNdx = unitNdx; 172 void Texture2DShader::setTexScaleBias (int inputNdx, const Vec4& scale, const Vec4& bias) argument 174 m_inputs[inputNdx].scale = scale; 175 m_inputs[inputNdx].bias = bias;
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderCommonFunctionTests.cpp | 2281 for (int inputNdx = 0; inputNdx < 3; inputNdx++) 2284 ((float*)values[inputNdx])[caseNdx*scalarSize + scalarNdx] = specialCases[caseNdx][inputNdx]; 2293 for (int inputNdx = 0; inputNdx < 3; inputNdx++) 2294 fillRandomScalars(rnd, ranges[precision].x(), ranges[precision].y(), (float*)values[inputNdx] + offs, numScalars); 2298 for (int inputNdx [all...] |
H A D | vktShaderExecutor.cpp | 641 for (int inputNdx = 0; inputNdx < (int)m_shaderSpec.inputs.size(); inputNdx++) 643 const Symbol& symbol = m_shaderSpec.inputs[inputNdx]; 644 const void* ptr = inputs[inputNdx]; 1808 for (size_t inputNdx = 0; inputNdx < m_shaderSpec.inputs.size(); ++inputNdx) 1810 const glu::VarType& varType = m_shaderSpec.inputs[inputNdx].varType; 1811 const VarLayout& layout = m_inputLayout[inputNdx]; [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
H A D | vktShaderLibrary.cpp | 1013 for (size_t inputNdx = 0; inputNdx < inputValues.size(); inputNdx++) 1015 const Value& input = inputValues[inputNdx]; 1016 const ValueBufferLayout::Entry& layoutEntry = layout.entries[inputNdx];
|
H A D | vktRenderPassTests.cpp | 770 for (size_t inputNdx = 0; inputNdx < inputAttachments.size(); inputNdx++) 772 const tcu::ScopedLogSection inputAttachmentSection (log, "Input" + de::toString(inputNdx), "Input " + de::toString(inputNdx)); 773 const AttachmentReference& inputAttachment = inputAttachments[inputNdx];
|
/external/deqp/framework/referencerenderer/ |
H A D | rrRenderer.cpp | 511 for (size_t inputNdx = 0; inputNdx < fragInputs.size(); ++inputNdx) 512 if (fragInputs[inputNdx].flatshade) 514 flatshadePrimitiveVertices(*it, inputNdx);
|