Skip to content
  1. Aug 13, 2020
    • Lachlan Sneff's avatar
      Serialize and Deserialize Module (#125) · 466cd1b7
      Lachlan Sneff authored
      * Add serialize and deserialize features with examples
      
      * Fix formatting
      
      * Make some types (de)serialize transparently
      
      * Fix more formatting
      
      * Remove new examples and add (de)serialization support to the convert example
      
      * Remove extraneous file
      
      * Rename param file
      466cd1b7
  2. Aug 11, 2020
    • João Capucho's avatar
      WIP: glsl 450 backend and common glsl module (#123) · a1620445
      João Capucho authored
      * Initial backend implementation
      
      * Refractored glsl450 backend to have a common module between further glsl backends
      Implemented more missing functionality
      
      * Error handling
      
      * Implemented most of the suggestions
      
      * Addresed all comments
      Fixed some bugs
      
      * Made code style consistent
      a1620445
  3. Aug 10, 2020
  4. Aug 09, 2020
  5. Aug 05, 2020
  6. Aug 04, 2020
  7. Jul 29, 2020
  8. Jul 25, 2020
  9. Jul 23, 2020
  10. Jul 21, 2020
  11. Jul 20, 2020
  12. Jul 16, 2020
  13. Jul 14, 2020
  14. Jul 13, 2020
    • Pelle Johnsen's avatar
      Glsl new handle version (#109) · 244c5874
      Pelle Johnsen authored
      * Fix TokenMetadata for #version
      
      * Add glsl-new #version parsing
      
      * Fix clippy issues
      
      * glsl-new only core profile, allow 440-460
      
      * Cleanup glsl-new profile matching
      244c5874
  15. Jul 12, 2020
  16. Jul 10, 2020
  17. Jul 08, 2020
  18. Jul 06, 2020
  19. Jul 05, 2020
  20. Jul 04, 2020
  21. 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
  22. Jul 02, 2020
  23. Jul 01, 2020
  24. 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