Skip to content
  • Christoph Bumiller's avatar
    gallium: add TGSI_SEMANTIC_TEXCOORD,PCOORD v3 · 8acaf862
    Christoph Bumiller authored
    This makes it possible to identify gl_TexCoord and gl_PointCoord
    for drivers where sprite coordinate replacement is restricted.
    
    The new PIPE_CAP_TGSI_TEXCOORD decides whether these varyings
    should be hidden behind the GENERIC semantic or not.
    
    With this patch only nvc0 and nv30 will request that they be used.
    
    v2: introduce a CAP so other drivers don't have to bother with
    the new semantic
    
    v3: adapt to introduction gl_varying_slot enum
    8acaf862