Skip to content
  1. Jul 05, 2020
  2. Jul 04, 2020
  3. Jul 03, 2020
    • Pelle Johnsen's avatar
      Add glsl-new lexer line comment support · 87595725
      Pelle Johnsen authored
      - Includes test
      87595725
    • LaughingMan's avatar
      WGSL front end: Fix panic on invalid input · dff31114
      LaughingMan authored
      Until now the WGSL parser would interpret a character index as a byte index.
      This could lead to a panic on invalid input strings like "\"\u{2}ПЀ\u{0}\"",
      because it would use that index to slice a string without ensuring the slicing
      happens on a character boundary.
      
      One possible fix would have been to call `str::find` instead of `position`,
      however by relying on `splitn` instead of slicing a str manually it is
      easier to convince ourselves that this code can no longer panic.
      
      Fixes https://github.com/gfx-rs/naga/issues/90
      dff31114
  4. Jul 02, 2020
  5. Jul 01, 2020
  6. Jun 30, 2020
    • Pelle Johnsen's avatar
      New GLSL frontend using pomelo (#87) · 6f0f551b
      Pelle Johnsen authored
      * Add initial pomelo glsl work
      
      * Fix ref to glsl_old
      
      * Fix idents with numbers in lexer
      
      * Use glsl_new for .vert in convert example
      
      Controlled by PREFER_GLSL_NEW=1 env var
      
      Also add simple test files
      
      * Start making parser look like spec
      
      * Port 'old' lex.rs to glsl_new
      
      * Apply fixes after rebasing
      
      * Fix clippy issue
      
      * Fix PR comments
      
      - Make into optional feature glsl-new
      
      - Minor code style improvements
      6f0f551b
  7. Jun 29, 2020
  8. Jun 27, 2020
  9. Jun 25, 2020
  10. Jun 22, 2020
  11. Jun 21, 2020
  12. Jun 19, 2020
  13. Jun 18, 2020
    • Timo de Kort's avatar
      Add Layout Tests · 0a781f4c
      Timo de Kort authored
      Add Physical Layout test
      
      Add Instruction tests
      
      Add Logical Layout test
      0a781f4c
  14. Jun 17, 2020
  15. Jun 16, 2020
  16. Jun 15, 2020
  17. Jun 13, 2020
  18. Jun 09, 2020
    • João Capucho's avatar
      Run cargo fmt and enable monocodus (#63) · f94b486d
      João Capucho authored
      f94b486d
    • João Capucho's avatar
      Glsl frontend (#50) · b91b9ca9
      João Capucho authored
      * Basic glsl support
      
      * Miscellaneous fixes and vertex shader works
      
      * Added rudimentary texture and sampler support
      
      * Basic preprocessor
      
      * Added preprocessor if macros
      
      * Pass tests and handle floats correctly
      
      * Fix preprocessor if wrong precedence ordering when using macros
      Refractor for the glsl parser
      Partial primary expression parser
      
      * Fix all clippy errors
      
      * Cleanup
      
      * Rollback formatting changes in lib.rs
      b91b9ca9
  19. Jun 08, 2020
    • João Capucho's avatar
      Fix clippy errors (#62) · 706a88e2
      João Capucho authored
      * Move from travis to github actions (#58)
      
      * Added github actions
      
      * Remove travis
      
      * Fixed clippy warnings
      
      * Add the clippy check to ci
      
      * Move workflows to .github
      
      * Fix missing clippy
      706a88e2
  20. May 22, 2020
  21. May 20, 2020
  22. May 19, 2020
  23. May 01, 2020
  24. Apr 17, 2020
  25. Mar 28, 2020
  26. Mar 23, 2020