Skip to content
Snippets Groups Projects
  1. Jun 03, 2017
  2. Jun 02, 2017
  3. Jun 01, 2017
  4. May 31, 2017
  5. May 29, 2017
    • John Kessenich's avatar
      Merge pull request #856 from TiemoJung/texture_upgrade · 136b1e2d
      John Kessenich authored
      Pure Texture to Sampled Texture Transform
      136b1e2d
    • t.jung's avatar
      Pure Texture to Sampled Texture Transform · baf570ef
      t.jung authored
      Adds a transformation step to the post processing step.
      Two modes are available:
      1) keep
      - Keeps samplers, textures and sampled textures as is
      2) transform pure texture into sampled texture and remove pure samplers
      - removes all pure samplers
      - transforms all pure textures into its sampled counter part
      
      Change-Id: If54972e8052961db66c23f4b7e719d363cf6edbd
      baf570ef
  6. May 25, 2017
  7. May 24, 2017
  8. May 21, 2017
  9. May 20, 2017
  10. May 19, 2017
  11. May 18, 2017
    • LoopDawg's avatar
      Remapper: handle embedded opcode in OpSpecConstantOp · 65c2eed6
      LoopDawg authored
      OpSpecConstantOp contains an embedded opcode which is given as a literal
      argument to the OpSpecConstantOp.  The subsequent arguments are as the
      embedded op would expect, which may be a mixture of IDs and literals.  This
      adds support for that to the remapper binary parser.  Upon seeing such an
      embedded op, the parser flips over to parsing the argument list as
      appropriate for that opcode.
      
      Fixes #882.
      65c2eed6
    • John Kessenich's avatar
      SPV: Give error on not assigning locations to I/O. · 71facdf4
      John Kessenich authored
      Also, provides an option to auto-assign locations.
      Existing tests use this option, to avoid the error message,
      however, it is not fully implemented yet.
      71facdf4
  12. May 17, 2017
  13. May 16, 2017
  14. May 15, 2017
    • steve-lunarg's avatar
      WIP: track declared builtin type [proposal] · a4bfed12
      steve-lunarg authored
      Marking as WIP since it might deserve discussion or at least explicit consideration.
      
      During type sanitization, the TQualifier's TBuiltInVariable type is lost.  However,
      sometimes it's needed downstream.  There were already two methods in use to track
      it through to places it was needed: one in the TParameter, and one in a map in the
      HlslParseContext used for structured buffers.
      
      The latter was going to be insufficient when SB types with counters are passed to
      user functions, and it's proving awkward to track the data to where it's needed.
      This PR holds a proposal: track the original declared builtin type in the TType,
      so it's trivially available where needed.
      
      This lets the other two mechanisms be removed (and they are in this PR).  There's a
      side benefit of not losing certain types of information before the reflection interface.
      
      This PR is only that proposal, so it changes no test results.  If it's acceptable,
      I'll use it for the last piece of SB counter functionality.
      a4bfed12
    • John Kessenich's avatar
      Merge pull request #890 from LoopDawg/mip-operator · 1a010b83
      John Kessenich authored
      HLSL: add .mips[][] operator for texture types
      1a010b83
    • LoopDawg's avatar
      HLSL: add .mips[][] operator for texture types · 726bf96a
      LoopDawg authored
      This implements mytex.mips[mip][coord] for texture types.  There is
      some error testing, but not comprehensive.  The constructs can be
      nested, e.g in this case the inner .mips is parsed before the completion
      of the outer [][] operator.
      
         tx.mips[tx.mips[a][b].x][c]
      726bf96a
  15. May 13, 2017
Loading