Home
last modified time | relevance | path

Searched refs:constMaybe (Results 1 – 2 of 2) sorted by relevance

/external/deqp/modules/gles3/performance/
Des3pShaderOptimizationTests.cpp467 const string constMaybe = constantExpressionsOnly ? "const " : ""; in builtinFunctionsCaseStatements() local
472 : " " + constMaybe + precision + " vec4 a = vec4(sin(0.7), cos(0.2), sin(0.9), abs(-0.5));\n" in builtinFunctionsCaseStatements()
473 " " + constMaybe + precision + " vec4 b = cos(a) + fract(3.0*a.xzzw);\n" in builtinFunctionsCaseStatements()
474 " " + constMaybe + "bvec4 c = bvec4(true, false, true, true);\n" in builtinFunctionsCaseStatements()
475 " " + constMaybe + precision + " vec4 d = exp(b + vec4(c));\n" in builtinFunctionsCaseStatements()
476 " " + constMaybe + precision + " vec4 e0 = inversesqrt(mix(d+a, d+b, a));\n" in builtinFunctionsCaseStatements()
477 …+ repeatIndexedTemplate(" " + constMaybe + precision + " vec4 e${NDX} = sin(sin(sin(sin(e${PREV_ND… in builtinFunctionsCaseStatements()
478 " " + constMaybe + precision + " vec4 f = abs(e" + toString(numSinRows) + ");\n" + in builtinFunctionsCaseStatements()
484 const string constMaybe = constantExpressionsOnly ? "const " : ""; in arrayCaseStatements() local
503 …" " + constMaybe + precision + " vec4 a = (arr[0] + arr[1] + arr[2] + arr[3]) * (1.0 / float(arr.l… in arrayCaseStatements()
[all …]
/external/deqp/modules/gles2/performance/
Des2pShaderOptimizationTests.cpp465 const string constMaybe = constantExpressionsOnly ? "const " : ""; in builtinFunctionsCaseStatements() local
470 : " " + constMaybe + precision + " vec4 a = vec4(sin(0.7), cos(0.2), sin(0.9), abs(-0.5));\n" in builtinFunctionsCaseStatements()
471 " " + constMaybe + precision + " vec4 b = cos(a) + fract(3.0*a.xzzw);\n" in builtinFunctionsCaseStatements()
472 " " + constMaybe + "bvec4 c = bvec4(true, false, true, true);\n" in builtinFunctionsCaseStatements()
473 " " + constMaybe + precision + " vec4 d = exp(b + vec4(c));\n" in builtinFunctionsCaseStatements()
474 " " + constMaybe + precision + " vec4 e0 = inversesqrt(mix(d+a, d+b, a));\n" in builtinFunctionsCaseStatements()
475 …+ repeatIndexedTemplate(" " + constMaybe + precision + " vec4 e${NDX} = sin(sin(sin(sin(e${PREV_ND… in builtinFunctionsCaseStatements()
476 " " + constMaybe + precision + " vec4 f = abs(e" + toString(numSinRows) + ");\n" + in builtinFunctionsCaseStatements()
501 const string constMaybe = constantExpressionsOnly ? "const " : ""; in structCaseStatements() local
514 " " + constMaybe + "S s =\n" in structCaseStatements()
[all …]