Skip to content
Snippets Groups Projects
  1. 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
  2. Nov 25, 2017
  3. Nov 22, 2017
  4. Nov 21, 2017
  5. Nov 20, 2017
  6. Nov 17, 2017
  7. Nov 16, 2017
  8. Nov 15, 2017
  9. Nov 14, 2017
  10. Nov 13, 2017
  11. Nov 12, 2017
  12. Nov 10, 2017
  13. Nov 09, 2017
    • Lei Zhang's avatar
      Travis: auto deploy build artifacts to GitHub Releases · fba299a2
      Lei Zhang authored
      Pushing a commit to the master branch will trigger a build on
      Travis. If the build is successful, the artifacts will be
      collected and pushed to GitHub Releases, under the "master-tot"
      release.
      fba299a2
    • John Kessenich's avatar
      Merge pull request #1114 from LoopDawg/validator-script · a0680e61
      John Kessenich authored
      Add script to crank test shaders through spirv-val
    • John Kessenich's avatar
      Merge pull request #1116 from LoopDawg/reverse-shift-args · a50a9de3
      John Kessenich authored
      Reverse order of setShiftBindingForSet parameters
    • John Kessenich's avatar
      Merge pull request #1144 from antiagainst/appveyor-auto-deploy · 7c2f6d85
      John Kessenich authored
      Appveyor: auto deploy build artifacts to GitHub Releases
    • LoopDawg's avatar
      Reverse order of setShiftBindingForSet parameters · e570955c
      LoopDawg authored
      Per feedback on PR #1111, this reverses the order of the parameters for the setShiftBinding API.
      
      It is now:
      
          void TShader::setShiftBindingForSet(TResourceType res, unsigned int base, unsigned int set);
      e570955c
    • LoopDawg's avatar
      Add script to crank test shaders through spirv-val · 4ec680e1
      LoopDawg authored
      This script will crank a supplied set of glslang test shaders through the
      spirv-val tool, reporting on the results.
      
      There are some important things to note:
      
      * Like 'runtests', this must be invoked from the 'Test' subdirectory.
      
      * This is mostly useful on the hlsl.* tests, although it is not strictly
      limited to those.  The reason is that most of the glsl tests either contain
      validation error cases, and so fail to compile, or are not using a #version
      compatible with producing SPIR-V modules.
      
      * Some tests, such as negative tests, or most of the glsl tests, have
      intentional compilation errors.  This script treats that as OK.  Failures
      are successfully compiling shaders which proceed to fail spirv-val.
      
      * spirv-val is looked for in either the External directory, or if not
      found there, in a sibling directory of glslang, and if not found there
      either, in /usr/local/bin.
      
      * There are a bunch of command line options.  ./validate-shaders.sh --help
      will describe them.
      
      Some examples to try:
      
         ./validate-shaders.sh hlsl.*   # exercise all hlsl.* tests.
         ./validate-shaders.sh --terse hlsl.*  # same, but tersely.
      
         # dump validator results for problems in something.frag:
         ./validate-shaders.sh --quiet --dump-val something.frag
      4ec680e1
    • Lei Zhang's avatar
      Appveyor: auto deploy build artifacts to GitHub Releases · a7eab9b3
      Lei Zhang authored
      Pushing a commit to the master branch will trigger a build on
      Appveyor. If the build is successful, the artifacts will be
      collected and pushed to GitHub Releases, under the "master-tot"
      release.
      a7eab9b3
    • 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
  14. Nov 08, 2017
  15. Nov 03, 2017
Loading