Skip to content
Snippets Groups Projects
  1. Jan 02, 2018
  2. Dec 30, 2017
  3. Dec 24, 2017
  4. Dec 21, 2017
  5. Dec 16, 2017
  6. Dec 15, 2017
  7. Dec 14, 2017
  8. Dec 12, 2017
    • LoopDawg's avatar
      HLSL: for split output structs, propagate indirection to builtin. · 0cff5100
      LoopDawg authored
      Some stage (e.g, hull shaders) have arrayed builtin outputs (e.g, position).
      When copying from the internal structure to the split form, it is necessary
      to propagate that indirection to the actual arrayed outputs.  This was not
      happening.
      
      Addresses #1181
      0cff5100
  9. Dec 09, 2017
  10. Dec 08, 2017
  11. Dec 07, 2017
    • LoopDawg's avatar
      HLSL: add optional position.Y inversion · b22c069f
      LoopDawg authored
      Adds command line options:
      
         --invert-y
         --iy
      
      (synonyms) which invert position.Y on vertex shader output.  Handles these cases:
      
      * Direct single variable return
      * Member of direct returned struct
      * Single variable output parameter
      * Member of struct output parameter
      
      API:
      
          // Enables position.Y output negation in vertex shader
          void TShader::setInvertY(bool invert);
      
      Fixes #1173
      b22c069f
  12. Dec 06, 2017
  13. Dec 04, 2017
    • John Kessenich's avatar
      HLSL: Fix #1163: treat buffers as references when calling functions. · 6a14f780
      John Kessenich authored
      This continues to prevent writing output buffers (out from a function),
      but fixes the problem where the copy-in/out was not getting done.
      
      Making everything work will require knowing both in/out-ness and bufferness,
      but these are currently mutually exclusive, because both are storage
      qualifiers.
      6a14f780
  14. Nov 30, 2017
  15. Nov 29, 2017
  16. Nov 28, 2017
    • LoopDawg's avatar
      HLSL: allow keyword-identifiers as cbuffer/struct names. · 7ee29ba7
      LoopDawg authored
      Issue #791 was partially fixed by PR #1161 (the mat mul implicit
      truncations were its main point), but it still wouldn't compile due to
      the use of ConstantBuffer as an identifier.  Apparently those fall into
      the same class as "float float", where float is both a type and an
      identifier.
      
      This allows struct definitions with such keyword-identifiers,
      and adds ConstantBuffer to the set.  'cbuffer int' is legal in HLSL,
      and 'struct int' appears to only be rejected due to the redefinition
      of the 'int' type.
      
      Fixes #791
      7ee29ba7
  17. Nov 27, 2017
  18. Nov 22, 2017
  19. Nov 20, 2017
  20. Nov 15, 2017
  21. Nov 14, 2017
  22. Nov 09, 2017
    • LoopDawg's avatar
      HLSL: implement TextureBuffer<type> · e5530b92
      LoopDawg authored
      Almost equivalent to tbuffer, except members not at global scope.
      So, reference is "TextureBuffer_var.member", not simply "member".
      e5530b92
  23. Nov 03, 2017
  24. Nov 02, 2017
  25. Oct 28, 2017
  26. Oct 27, 2017
  27. Oct 25, 2017
  28. Oct 23, 2017
Loading