Lines Matching refs:shaderSpec
1921 ShaderDataSpec shaderSpec; in init() local
1934 shaderSpec.numInputs = 0; in init()
1935 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; in init()
1936 shaderSpec.output = outDataType; in init()
1937 shaderSpec.resultScale = funcInfo.resultScale; in init()
1938 shaderSpec.resultBias = funcInfo.resultBias; in init()
1939 shaderSpec.referenceScale = funcInfo.referenceScale; in init()
1940 shaderSpec.referenceBias = funcInfo.referenceBias; in init()
2015 … shaderSpec.inputs[shaderSpec.numInputs++] = ShaderValue(curInDataType, v.rangeMin, v.rangeMax); in init()
2027 …OperatorCase(m_context, name.c_str(), desc.c_str(), isVertexCase, evalFunc, shaderOp, shaderSpec)); in init()
2088 ShaderDataSpec shaderSpec; in init() local
2094 shaderSpec.numInputs = 3; in init()
2095 shaderSpec.precision = isBoolCase ? PRECISION_LAST : (Precision)precision; in init()
2096 shaderSpec.output = curType; in init()
2097 shaderSpec.resultScale = isBoolCase ? 1.0f : isFloatCase ? 0.5f : isUintCase ? 0.5f : 0.1f; in init()
2098 shaderSpec.resultBias = isBoolCase ? 0.0f : isFloatCase ? 0.5f : isUintCase ? 0.0f : 0.5f; in init()
2099 shaderSpec.referenceScale = shaderSpec.resultScale; in init()
2100 shaderSpec.referenceBias = shaderSpec.resultBias; in init()
2105 shaderSpec.inputs[0] = ShaderValue(TYPE_BOOL, -1.0f, 1.0f); in init()
2106 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); in init()
2107 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax); in init()
2109 …orCase(m_context, name.c_str(), "", isVertexCase, evalFunc, "res = in0 ? in1 : in2;", shaderSpec)); in init()
2153 ShaderDataSpec shaderSpec; in init() local
2159 shaderSpec.numInputs = s_sequenceCases[caseNdx].numInputs; in init()
2160 shaderSpec.precision = (Precision)precision; in init()
2161 shaderSpec.output = s_sequenceCases[caseNdx].resultType; in init()
2162 shaderSpec.resultScale = 0.5f; in init()
2163 shaderSpec.resultBias = 0.0f; in init()
2164 shaderSpec.referenceScale = shaderSpec.resultScale; in init()
2165 shaderSpec.referenceBias = shaderSpec.resultBias; in init()
2173 shaderSpec.inputs[inputNdx] = ShaderValue(type, rangeMin, rangeMax); in init()
2179 …ame.c_str(), "", isVertexCase, s_sequenceCases[caseNdx].evalFunc, expression.c_str(), shaderSpec)); in init()