Skip to content
Snippets Groups Projects
  • LoopDawg's avatar
    a5d86164
    HLSL: allow mixed user & builtin members in hull shader output structure · a5d86164
    LoopDawg authored
    Hull shaders have an implicitly arrayed output.  This is handled by creating an arrayed form of the
    provided output type, and writing to the element of it indexed by InvocationID.
    
    The implicit indirection into that array was causing some troubles when copying to a split
    structure.  handleAssign was able to handle simple symbol lvalues, but not an lvalue composed
    of an indirection into an array.
    a5d86164
    History
    HLSL: allow mixed user & builtin members in hull shader output structure
    LoopDawg authored
    Hull shaders have an implicitly arrayed output.  This is handled by creating an arrayed form of the
    provided output type, and writing to the element of it indexed by InvocationID.
    
    The implicit indirection into that array was causing some troubles when copying to a split
    structure.  handleAssign was able to handle simple symbol lvalues, but not an lvalue composed
    of an indirection into an array.