Skip to content
Snippets Groups Projects
  • Greg Fischer's avatar
    Add interpolate legalization pass (#4220) · 48007a5c
    Greg Fischer authored
    This pass converts an internal form of GLSLstd450 Interpolate ops
    to the externally valid form. The external form takes the lvalue
    of the interpolant. The internal form can do a load of the interpolant.
    The pass replaces the load with its pointer. The internal form is
    generated by glslang and possibly other frontends for HLSL shaders.
    The new pass is called as part of HLSL legalization after all
    propagation is complete.
    
    Also adds internal interpolate form to pre-legalization validation
    Unverified
    48007a5c