Searched refs:constMaybe (Results 1 - 2 of 2) sorted by relevance
/external/deqp/modules/gles3/performance/ |
H A D | es3pShaderOptimizationTests.cpp | 467 const string constMaybe = constantExpressionsOnly ? "const " : ""; local 472 : " " + constMaybe + precision + " vec4 a = vec4(sin(0.7), cos(0.2), sin(0.9), abs(-0.5));\n" 473 " " + constMaybe + precision + " vec4 b = cos(a) + fract(3.0*a.xzzw);\n" 474 " " + constMaybe + "bvec4 c = bvec4(true, false, true, true);\n" 475 " " + constMaybe + precision + " vec4 d = exp(b + vec4(c));\n" 476 " " + constMaybe + precision + " vec4 e0 = inversesqrt(mix(d+a, d+b, a));\n" 477 + repeatIndexedTemplate(" " + constMaybe + precision + " vec4 e${NDX} = sin(sin(sin(sin(e${PREV_NDX}))));\n", numSinRows, "", 1) + 478 " " + constMaybe + precision + " vec4 f = abs(e" + toString(numSinRows) + ");\n" + 484 const string constMaybe = constantExpressionsOnly ? "const " : ""; local 503 " " + constMaybe 512 const string constMaybe = constantExpressionsOnly ? "const " : ""; local 741 const string constMaybe = useConst ? "const " : ""; local [all...] |
/external/deqp/modules/gles2/performance/ |
H A D | es2pShaderOptimizationTests.cpp | 465 const string constMaybe = constantExpressionsOnly ? "const " : ""; local 470 : " " + constMaybe + precision + " vec4 a = vec4(sin(0.7), cos(0.2), sin(0.9), abs(-0.5));\n" 471 " " + constMaybe + precision + " vec4 b = cos(a) + fract(3.0*a.xzzw);\n" 472 " " + constMaybe + "bvec4 c = bvec4(true, false, true, true);\n" 473 " " + constMaybe + precision + " vec4 d = exp(b + vec4(c));\n" 474 " " + constMaybe + precision + " vec4 e0 = inversesqrt(mix(d+a, d+b, a));\n" 475 + repeatIndexedTemplate(" " + constMaybe + precision + " vec4 e${NDX} = sin(sin(sin(sin(e${PREV_NDX}))));\n", numSinRows, "", 1) + 476 " " + constMaybe + precision + " vec4 f = abs(e" + toString(numSinRows) + ");\n" + 501 const string constMaybe = constantExpressionsOnly ? "const " : ""; local 514 " " + constMaybe 730 const string constMaybe = useConst ? "const " : ""; local [all...] |
Completed in 76 milliseconds