• Home
  • Raw
  • Download

Lines Matching refs:glu

40 static void addOutputVar (glu::sl::ValueBlock* dst, glu::DataType type, float output)  in addOutputVar()
42 dst->outputs.push_back(glu::sl::Value()); in addOutputVar()
45 glu::sl::Value& value = dst->outputs.back(); in addOutputVar()
48 value.type = glu::VarType(type, glu::PRECISION_LAST); in addOutputVar()
53 case glu::TYPE_INT: in addOutputVar()
57 case glu::TYPE_UINT: in addOutputVar()
61 case glu::TYPE_BOOL: in addOutputVar()
65 case glu::TYPE_FLOAT: in addOutputVar()
76 glu::RenderContext& renderContext, in createTests()
77 const glu::ContextInfo& contextInfo, in createTests()
80 glu::GLSLVersion version, in createTests()
88 DE_STATIC_ASSERT(glu::TYPE_FLOAT+1 == glu::TYPE_FLOAT_VEC2); in createTests()
89 DE_STATIC_ASSERT(glu::TYPE_FLOAT+2 == glu::TYPE_FLOAT_VEC3); in createTests()
90 DE_STATIC_ASSERT(glu::TYPE_FLOAT+3 == glu::TYPE_FLOAT_VEC4); in createTests()
92 DE_STATIC_ASSERT(glu::TYPE_INT+1 == glu::TYPE_INT_VEC2); in createTests()
93 DE_STATIC_ASSERT(glu::TYPE_INT+2 == glu::TYPE_INT_VEC3); in createTests()
94 DE_STATIC_ASSERT(glu::TYPE_INT+3 == glu::TYPE_INT_VEC4); in createTests()
96 DE_STATIC_ASSERT(glu::TYPE_UINT+1 == glu::TYPE_UINT_VEC2); in createTests()
97 DE_STATIC_ASSERT(glu::TYPE_UINT+2 == glu::TYPE_UINT_VEC3); in createTests()
98 DE_STATIC_ASSERT(glu::TYPE_UINT+3 == glu::TYPE_UINT_VEC4); in createTests()
100 DE_STATIC_ASSERT(glu::TYPE_BOOL+1 == glu::TYPE_BOOL_VEC2); in createTests()
101 DE_STATIC_ASSERT(glu::TYPE_BOOL+2 == glu::TYPE_BOOL_VEC3); in createTests()
102 DE_STATIC_ASSERT(glu::TYPE_BOOL+3 == glu::TYPE_BOOL_VEC4); in createTests()
132 shaderTemplateParams["GLES_VERSION"] = version == glu::GLSL_VERSION_300_ES ? "300 es" : "100"; in createTests()
133 shaderTemplateParams["CASE_BASE_TYPE"] = glu::getDataTypeName(outType); in createTests()
141 …string typeName = glu::getDataTypeName((glu::DataType)(inType + compCount)); // results in … in createTests()
158 glu::sl::ShaderCaseSpecification spec; in createTests()
161 spec.expectResult = glu::sl::EXPECT_PASS; in createTests()
162 spec.caseType = glu::sl::CASETYPE_VERTEX_ONLY; in createTests()
165 spec.programs[0].sources << glu::VertexSource(mapped); in createTests()
179 glu::sl::ShaderCaseSpecification spec; in createTests()
182 spec.expectResult = glu::sl::EXPECT_PASS; in createTests()
183 spec.caseType = glu::sl::CASETYPE_FRAGMENT_ONLY; in createTests()
186 spec.programs[0].sources << glu::FragmentSource(mapped); in createTests()
202 …const string scalarCaseName = string(cases[caseNdx].name) + "_" + typeName + "_" + glu::getDataTyp… in createTests()
204 expressionTemplateParams["MT"] = glu::getDataTypeName(inType); in createTests()
212 glu::sl::ShaderCaseSpecification spec; in createTests()
215 spec.expectResult = glu::sl::EXPECT_PASS; in createTests()
216 spec.caseType = glu::sl::CASETYPE_VERTEX_ONLY; in createTests()
219 spec.programs[0].sources << glu::VertexSource(mapped); in createTests()
233 glu::sl::ShaderCaseSpecification spec; in createTests()
236 spec.expectResult = glu::sl::EXPECT_PASS; in createTests()
237 spec.caseType = glu::sl::CASETYPE_FRAGMENT_ONLY; in createTests()
240 spec.programs[0].sources << glu::FragmentSource(mapped); in createTests()