1. 29 Sep, 2017 1 commit
  2. 28 Sep, 2017 4 commits
  3. 27 Sep, 2017 8 commits
  4. 26 Sep, 2017 1 commit
  5. 25 Sep, 2017 1 commit
  6. 23 Sep, 2017 1 commit
  7. 22 Sep, 2017 1 commit
  8. 21 Sep, 2017 1 commit
    • CMake changes for HLSL legalization · fd34f0e6
      GregF authored
      Cmake now looks for External/spirv-tools. If found, it links in
      SPIRV-Tools-opt and SPVRemapper, and adds -DENABLE_OPT to build.
  9. 20 Sep, 2017 1 commit
    • Remapper: make remapper robust against non-exiting error handlers · 8004d365
      LoopDawg authored
      Remapper errors are generally fatal: there has been some unexpected situation while
      parsing the SPV binary, and there is no reasonable way to carry on.  The
      errorHandler() function is called in this case, which by default exits, but
      it is possible to submit a handler which does not.  In that case the remapper would
      carry on in a bad state.
      
      This change ensures a graceful termination of the remap() function.
      
      While a try {} catch {} construct would be the ideal and safe way to do this,
      that's off limits for certain environments, so this tries to do the same thing
      with explicit code, to catch all the bailout paths.
  10. 19 Sep, 2017 1 commit
  11. 16 Sep, 2017 1 commit
  12. 15 Sep, 2017 4 commits
  13. 14 Sep, 2017 2 commits
    • HLSL: handle split InputPatch templat type in patch constant functions · 4a145dbf
      LoopDawg authored
      InputPatch parameters to patch constant functions were not using the
      internal (temporary) variable type.  That could cause validation errors
      if the input patch had a mixture of builtins and user qualified members.
      
      This uses the entry point's internal form.
      
      There is currently a limitation: if an InputPatch is used in a PCF,
      it must also have appeared in the main entry point's parameter list.
      That is not a limitation of HLSL.  Currently that situation is detected
      and an "implemented" error results.  The limitation can be addressed,
      but isn't yet in the current form of the PR.
    • 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.
  14. 13 Sep, 2017 1 commit
  15. 12 Sep, 2017 10 commits
  16. 11 Sep, 2017 1 commit
    • Delete unused 'this' capture · 933c10cd
      mchock-nv authored
      Remove an unused 'this' entry from a lambda capture list.
      
      This cleans up a unused-lambda-capture warning.
  17. 09 Sep, 2017 1 commit