Home | History | Annotate | Download | only in functional

Lines Matching full:uniform

21  * \brief Explicit uniform location tests
192 // A (hopefully) unique value for a uniform. For multi-component types creates only one value. Values are in the range [0,1] for floats, [-128, 127] for ints, [0,255] for uints and 0/1 for booleans. Samplers are treated according to the types they return.
319 vertDecl << "uniform " << (layoutInVert ? layout : "") << glu::declare(uniformInfo.type, uniName) << ";\n";
322 fragDecl << "uniform " << (layoutInFrag ? layout : "") << glu::declare(uniformInfo.type, uniName) << ";\n";
403 log << TestLog::Message << "ERROR: found uniform " << name << " in location " << gotLoc << " when it should have been in " << expectLoc << TestLog::EndMessage;
404 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Incorrect uniform location");
410 log << TestLog::Message << "ERROR: expected uniform " << name << " in location " << gotLoc << " but it has already been used" << TestLog::EndMessage;
411 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Overlapping uniform location");
421 log << TestLog::Message << "ERROR: found uniform " << name << " in location " << gotLoc << " which has already been used" << TestLog::EndMessage;
422 m_testCtx.setTestResult(QP_TEST_RESULT_FAIL, "Overlapping uniform location");
582 m_testCtx.getLog() << tcu::TestLog::Message << "Set uniform " << name << " in location " << gotLoc << " to " << expectedValue << tcu::TestLog::EndMessage;
682 : TestCaseGroup(context, "uniform_location", "Explicit uniform locations")
762 UniformInfo uniform (createVarType(type),
768 config.push_back(uniform);
791 UniformInfo uniform (VarType(createVarType(type), 8),
797 config.push_back(uniform);
816 // stay comfortably within minimum max uniform component count (896 in fragment) and sampler count with all types
821 UniformInfo uniform (VarType(VarType(createVarType(type), arraySize), arraySize),
827 config.push_back(uniform);
1034 const UniformInfo uniform (createVarType(primitiveTypes[rng.getInt(0, maxPrimitiveTypeNdx)]),
1040 config.push_back(uniform);