Lines Matching refs:builtins
376 const BuiltinInfo &builtins, in generateVaryingLinkHLSL() argument
380 ASSERT(builtins.dxPosition.enabled); in generateVaryingLinkHLSL()
382 << " float4 dx_Position : " << builtins.dxPosition.str() << ";\n"; in generateVaryingLinkHLSL()
384 if (builtins.glPosition.enabled) in generateVaryingLinkHLSL()
386 hlslStream << " float4 gl_Position : " << builtins.glPosition.str() << ";\n"; in generateVaryingLinkHLSL()
389 if (builtins.glFragCoord.enabled) in generateVaryingLinkHLSL()
391 hlslStream << " float4 gl_FragCoord : " << builtins.glFragCoord.str() << ";\n"; in generateVaryingLinkHLSL()
394 if (builtins.glPointCoord.enabled) in generateVaryingLinkHLSL()
396 hlslStream << " float2 gl_PointCoord : " << builtins.glPointCoord.str() << ";\n"; in generateVaryingLinkHLSL()
399 if (builtins.glPointSize.enabled) in generateVaryingLinkHLSL()
401 hlslStream << " float gl_PointSize : " << builtins.glPointSize.str() << ";\n"; in generateVaryingLinkHLSL()
404 if (builtins.glViewIDOVR.enabled) in generateVaryingLinkHLSL()
406 hlslStream << " nointerpolation uint gl_ViewID_OVR : " << builtins.glViewIDOVR.str() in generateVaryingLinkHLSL()
456 if (builtins.glViewportIndex.enabled) in generateVaryingLinkHLSL()
459 << builtins.glViewportIndex.str() << ";\n"; in generateVaryingLinkHLSL()
462 if (builtins.glLayer.enabled) in generateVaryingLinkHLSL()
464 hlslStream << " nointerpolation uint gl_Layer : " << builtins.glLayer.str() << ";\n"; in generateVaryingLinkHLSL()
1396 BuiltinInfo *builtins = &mBuiltinInfo[shaderType]; in updateBuiltins() local
1400 builtins->dxPosition.enableSystem("SV_Position"); in updateBuiltins()
1404 builtins->dxPosition.enableSystem("VPOS"); in updateBuiltins()
1408 builtins->dxPosition.enableSystem("POSITION"); in updateBuiltins()
1413 builtins->glPosition.enable(userSemantic, reservedSemanticIndex++); in updateBuiltins()
1418 builtins->glFragCoord.enable(userSemantic, reservedSemanticIndex++); in updateBuiltins()
1428 builtins->glPointCoord.enable(userSemantic, reservedSemanticIndex++); in updateBuiltins()
1432 builtins->glPointCoord.enable("TEXCOORD", 0); in updateBuiltins()
1441 builtins->glViewIDOVR.enable(userSemantic, reservedSemanticIndex++); in updateBuiltins()
1447 builtins->glViewportIndex.enableSystem("SV_ViewportArrayIndex"); in updateBuiltins()
1448 builtins->glLayer.enableSystem("SV_RenderTargetArrayIndex"); in updateBuiltins()
1456 builtins->glViewportIndex.enableSystem("SV_ViewportArrayIndex"); in updateBuiltins()
1457 builtins->glLayer.enableSystem("SV_RenderTargetArrayIndex"); in updateBuiltins()
1465 builtins->glPointSize.enableSystem("PSIZE"); in updateBuiltins()