Lines Matching refs:constMaybe

465 		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()
519 " " + constMaybe + precision + " vec4 a = (s.a + s.b + s.c + s.d) * 0.25;\n" in structCaseStatements()
520 " " + constMaybe + precision + " vec4 b0 = cos(sin(a));\n" in structCaseStatements()
521 …+ repeatIndexedTemplate(" " + constMaybe + precision + " vec4 b${NDX} = sin(sin(sin(sin(b${PREV_ND… in structCaseStatements()
522 " " + constMaybe + precision + " vec4 c = abs(b" + toString(numSinRows) + ");\n" + in structCaseStatements()
730 const string constMaybe = useConst ? "const " : ""; in deadBranchComplexCaseStatements() local
736 " " + constMaybe + precision + " vec4 a = vec4(sin(0.7), cos(0.2), sin(0.9), abs(-0.5));\n" in deadBranchComplexCaseStatements()
737 " " + constMaybe + precision + " vec4 b = cos(a) + fract(3.0*a.xzzw);\n" in deadBranchComplexCaseStatements()
738 " " + constMaybe + "bvec4 c = bvec4(true, false, true, true);\n" in deadBranchComplexCaseStatements()
739 " " + constMaybe + precision + " vec4 d = exp(b + vec4(c));\n" in deadBranchComplexCaseStatements()
740 … " " + constMaybe + precision + " vec4 e = 1.8*abs(sin(sin(inversesqrt(mix(d+a, d+b, a)))));\n" in deadBranchComplexCaseStatements()