Skip to content
Snippets Groups Projects
  1. Mar 03, 2018
  2. Mar 02, 2018
  3. Feb 28, 2018
  4. Feb 27, 2018
  5. Feb 23, 2018
  6. Feb 22, 2018
  7. Feb 21, 2018
  8. Feb 20, 2018
  9. Feb 18, 2018
    • LoopDawg's avatar
      HLSL: Add conversions for image ops during SPV construction · 4425f245
      LoopDawg authored
      HLSL allows image and texture types to be templatized on sub-vec4 types,
      or even structures.  This was mostly handled already during creation of
      sampling operations.  However, for operator[] which can generate image
      loads, this wasn't happening.
      
      It also isn't very easy to do at that point in time, because operator[]
      does not know where the results it produces will end up.  They may be
      an lvalue or an rvalue, and there's a post-process to convert loads to
      stores.  They may end up in atomic ops.
      
      To bypass that difficulty, GlslangToSpv now looks for this case and
      adds the appropriate conversion.  LIMITATION: this only works for
      cases for which a simple conversion opcode suffices.  That is to say,
      it will not work if the type is templatized on a struct.
      4425f245
  10. Feb 15, 2018
  11. Feb 14, 2018
  12. Feb 12, 2018
  13. Feb 10, 2018
  14. Feb 09, 2018
  15. Feb 08, 2018
  16. Feb 07, 2018
  17. Feb 06, 2018
Loading