Skip to content
  • Neha Bhende's avatar
    util: Add util functionality for GL4.1 support · 48a7456f
    Neha Bhende authored
    
    
    This patch adds the following tgsi utilities
    
    * tgsi_dynamic_indexing: This utility flattens out the dyanamic indexing of constant buffers
    * tgsi_vpos: This utility writes zeros to position at index 0 in vertex shader.
      This utility can be used if there is no shader output in vertex shader
    * util_make_tess_ctrl_passthrough_shader: This adds passthough tessellation control shader.
      Input of passthrough tess ctrl shader is output of vertex shader
      and output is input of tessellation eval shader.
      If program has tessellation eval shader but no tessellation control shader,
      this utility can be used to create passthrough tessellation control shader.
    
    Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
    Reviewed-by: default avatarCharmaine Lee <charmainel@vmware.com>
    Signed-off-by: default avatarNeha Bhende <bhenden@vmware.com>
    Part-of: <!5317>
    48a7456f