Commit Graph

  • 8df5421e2e [glsl-out] Add stage postfix to generated global name (#1616) master Igor Shaposhnik 2021-12-24 06:19:07 +03:00
  • 924ab17b62 Fixes for fma function (#1580) Jay Oster 2021-12-22 06:41:07 -08:00
  • 54178dede2 impl Clone for WithSpan<E> (#1620) Jakob Hellermann 2021-12-21 21:14:10 +01:00
  • f9b348557a Add FindLsb / FindMsb (#1473) Jonathan Behrens 2021-12-20 14:48:54 -05:00
  • c2328fea75 Release v0.8 v0.8 Dzmitry Malyshau 2021-12-16 19:05:20 -05:00
  • 8caa2bd87e Gather operations Dzmitry Malyshau 2021-12-15 00:29:07 -05:00
  • db98743a5a [glsl-out] Don't return early from snapshot tests. Jim Blandy 2021-12-17 17:23:51 -08:00
  • 75ce45d4f3 spv-in: fix support for degrees and radians conversion Ashley 2021-11-09 17:53:55 +01:00
  • d13e9e3b83 wgsl-in: correctly parse else if (#1611) Christofer Nolander 2021-12-17 17:19:38 +01:00
  • e1552fd9d5 wgsl-in: Implement matrix construction from scalar João Capucho 2021-12-17 15:28:22 +00:00
  • 33c1daecee glsl-in: Cull the body of do while if needed João Capucho 2021-12-04 22:25:02 +00:00
  • 322be0772e spv-in: Implement CompositeInsert for arrays João Capucho 2021-12-16 21:06:48 +00:00
  • 6df9656e96 spv-out: Force wrapping of push constant structs Dzmitry Malyshau 2021-12-16 16:13:38 -05:00
  • 7bb886bf36 Enforce casting width better, fix IEqual/INotEqual in spv Dzmitry Malyshau 2021-12-16 16:10:35 -05:00
  • 12baa1e909 spv-in: Implement OpCopyObject João Capucho 2021-12-16 17:03:53 +00:00
  • 2a8d64fc59 spv-in: Implement remaining sign agnostic ops João Capucho 2021-12-16 16:12:28 +00:00
  • cf0c31cc85 spv-in: Allow branch weights in OpBranchConditional João Capucho 2021-12-15 21:35:19 +00:00
  • 9c75f3cdce glsl-in: Flatten entry point arguments João Capucho 2021-12-15 21:11:48 +00:00
  • 049b48b319 spv-in: Remove if when both branches are equal João Capucho 2021-12-15 22:07:10 +00:00
  • 4334f0e6a9 Support bitwise And on booleans João Capucho 2021-12-15 22:38:32 +00:00
  • c64d5eff50 Support bitwise Or on booleans João Capucho 2021-12-15 22:30:33 +00:00
  • 8ffd6ba929 Remove top_level property of structs Dzmitry Malyshau 2021-12-08 00:27:20 -05:00
  • 3867ef4f6c [msl-out] Correctly construct out-of-bounds values for all types. Jim Blandy 2021-12-14 18:01:42 -08:00
  • 8a2fbd360d [msl-out] Add log tracing for functions and entry points. Jim Blandy 2021-12-13 11:46:23 -08:00
  • 90f506283d Bump version to 0.7.2 v0.7 Samuel Hurel 2021-12-14 16:23:31 +01:00
  • 9c4fa0b7ed [spv-out] Fixing incorrect pack/unpack (#1587) Lain-dono 2021-12-12 05:29:31 +03:00
  • 38ac4a48e1 glsl: reflect textures without samplers Dzmitry Malyshau 2021-12-04 12:13:53 -05:00
  • 830c6948e8 Add multiview wgsl builtin Layl Bongers 2021-11-16 22:54:22 +01:00
  • c4b331acb4 readme: list supported GLSL versions for glsl-in (#1586) Markus 2021-12-12 02:29:49 +00:00
  • e200e44ede [spv-out] Fixing incorrect pack/unpack (#1587) Lain-dono 2021-12-12 05:29:31 +03:00
  • f51f468a47 [msl-out] Implement index bounds check policies for non-texture accesses. Jim Blandy 2021-10-19 09:37:59 -07:00
  • e8f564dc83 [spv-out] Add comment about AccessIndex on non-pointer values. Jim Blandy 2021-11-13 13:58:45 -08:00
  • 61e3af2989 [msl-out] Move Statement::Store handling into its own function. Jim Blandy 2021-11-01 17:07:25 -07:00
  • 17398e761f [msl-out] Move Expression::Load handling into its own function. Jim Blandy 2021-11-01 12:51:44 -07:00
  • 840bbaffcc [msl-out] Rename put_dynamic_array_length, make it take a global. Jim Blandy 2021-10-01 10:07:31 -07:00
  • 89cc21ef43 [spv-out] BlockContext::write_expression_pointer doc fix. Jim Blandy 2021-10-01 13:58:51 -07:00
  • 6912cb3594 [spv-out] Move ExpressionPointer to back::spv::block, remove pub. Jim Blandy 2021-10-01 10:01:02 -07:00
  • 9cc2b730b7 [glsl-out] Add note about supported GLSL versions Igor Shaposhnik 2021-12-06 14:56:41 +03:00
  • 14719553a6 glsl-in: fix pre/postfix ops on swizzles João Capucho 2021-12-04 21:54:55 +00:00
  • c69f676609 glsl: reflect textures without samplers Dzmitry Malyshau 2021-12-04 12:13:53 -05:00
  • 6fbd668bd3 Add missing GLSL tests Dzmitry Malyshau 2021-12-02 13:07:51 -05:00
  • ae604d2f8c Bump version to 0.7.2 Dzmitry Malyshau 2021-12-01 19:31:46 -05:00
  • a0ecb45ed9 Allow new clippy::if_same_then_else Dzmitry Malyshau 2021-10-23 23:25:25 -04:00
  • 8608fac70c Switch the constant in bevy-pbr to avoid display incosistencies Dzmitry Malyshau 2021-10-23 23:31:30 -04:00
  • ef075217e2 Check that stores are permitted by the pointer's storage access. Jim Blandy 2021-11-15 22:46:00 -08:00
  • 8f79437e10 [glsl-in] Don't panic on UB integer operations (#1518) João Capucho 2021-11-09 14:35:59 +00:00
  • fc07d9c4cc [spv-out] Fix word order for constants Jonathan Behrens 2021-11-06 18:39:35 -04:00
  • ce1aed3423 Refactor namer scheme, fix trailing digits (#1510) Dzmitry Malyshau 2021-11-09 09:24:41 -05:00
  • 5603eda45a hlsl: respect array stride in storage buffers (#1507) Dzmitry Malyshau 2021-11-03 22:44:46 -04:00
  • 469ebc017d Handle empty variable names in namer (#1484) Igor Shaposhnik 2021-10-27 00:46:27 +03:00
  • 870521c9e4 [spv-in]: Cull unused builtins inside structs (#1469) João Capucho 2021-10-20 02:55:20 +00:00
  • f1fe281b9a hlsl: Fix mat3 stores (#1467) Dzmitry Malyshau 2021-10-18 01:04:06 -04:00
  • 9fac7c48a6 glsl-in: Allow vector/matrix in vector constructor João Capucho 2021-11-28 16:27:51 +00:00
  • dba6beb941 [wgsl-in] Don't allow redefinition of module scope identifiers Igor Shaposhnik 2021-11-25 01:36:57 +03:00
  • 20b96ef47b Avoid function name redefinition in tests Igor Shaposhnik 2021-11-26 21:56:59 +03:00
  • daa61b5fcb Fix shapshots to run without deserialize feature Dzmitry Malyshau 2021-11-26 12:10:43 -05:00
  • 74132ba947 Actually disable explicit types on most WGSL outputs Dzmitry Malyshau 2021-11-26 11:32:00 -05:00
  • f4ba74544a Refactor snapshot test arguments to avoid checking for deserialize feature too often. Dzmitry Malyshau 2021-11-26 11:29:35 -05:00
  • 7c2fdf94c0 [wgsl-out] Add double underscores as a reserved prefix Igor Shaposhnik 2021-11-25 02:11:41 +03:00
  • ddbc1c4b1f WGSL: use underscore prefix like the other backends Dzmitry Malyshau 2021-11-23 08:36:48 -05:00
  • 2107b20561 [wgsl-in] Don't allow keywords to be used as identifiers Igor Shaposhnik 2021-11-24 16:28:23 +03:00
  • cb6d3fa815 [wgsl] Move backend keyword list into its own module Igor Shaposhnik 2021-11-24 17:59:36 +03:00
  • ae0c7355ca [wgsl] Remove IsInf and IsNan Igor Shaposhnik 2021-11-24 22:54:32 +03:00
  • 7fd172515d [spv-out] Don't support arguments pointing to unsized types. Jim Blandy 2021-11-10 21:31:57 -08:00
  • cc930180d9 Tighten checks on pointers to unsized values, and pointer arguments. Jim Blandy 2021-11-10 17:32:40 -08:00
  • 633f1b3377 [wgsl-in] Don't be confused by pointers to globals. Jim Blandy 2021-11-18 10:29:44 -08:00
  • 29571cc4cf Add multiview wgsl builtin Layl Bongers 2021-11-16 22:54:22 +01:00
  • 6a5b33fa24 Move BoundsCheckPolicy/Policies into proc, from back. (#1537) Jim Blandy 2021-11-17 19:15:59 -08:00
  • 38366e382f Switch to rustc-hash bjorn3 2021-11-16 17:06:00 +01:00
  • 30a0a37af0 Update dependencies Igor Shaposhnik 2021-11-16 17:17:51 +03:00
  • ce18eba695 Check that stores are permitted by the pointer's storage access. Jim Blandy 2021-11-15 22:46:00 -08:00
  • 3d6cbcf8a6 Remove IndexableLength::Specializable variant. Jim Blandy 2021-11-14 12:20:27 -08:00
  • 90daa9edfe Forbid specializable constants as array lengths. Jim Blandy 2021-11-14 12:05:29 -08:00
  • 1dcde48d09 [valid] Check that switches have a default case (#1529) Boris-Chengbiao Zhou 2021-11-15 01:07:55 +01:00
  • 66c3499df8 [spv-out] Fix scalar-times-matrix operations (#1524) Jay Oster 2021-11-14 16:07:38 -08:00
  • e69a70bfb7 [spv-in] Permit pointers to runtime arrays only in StorageBuffer. (#1522) Jim Blandy 2021-11-10 13:58:57 -08:00
  • eda078d736 [glsl-in] Allow more operations as access bases (#1521) João Capucho 2021-11-10 17:16:19 +00:00
  • d168f15d81 [glsl-in] Allow constructors from non-scalar to scalar (#1520) João Capucho 2021-11-10 17:15:43 +00:00
  • c3c4ab7548 [glsl-in] Add test for matrix from matrix constructor João Capucho 2021-11-07 21:03:00 +00:00
  • 7234d19d00 [glsl-in] Implement matrix to matrix constructor João Capucho 2021-11-07 20:58:59 +00:00
  • e26bff1b8d [glsl-in] Split constructor calls into two functions João Capucho 2021-11-07 18:21:03 +00:00
  • 8a1dbcb050 [spv-in] Always use get_expr_handle for expressions in image expressions (#1516) João Capucho 2021-11-09 14:52:29 +00:00
  • 8e2c4fbef5 [glsl-in] Don't panic on UB integer operations (#1518) João Capucho 2021-11-09 14:35:59 +00:00
  • 8bc3aa824b Refactor namer scheme, fix trailing digits (#1510) Dzmitry Malyshau 2021-11-09 09:24:41 -05:00
  • 098e4af52f [spv-out] Fix word order for constants Jonathan Behrens 2021-11-06 18:39:35 -04:00
  • 28c45321e5 hlsl: respect array stride in storage buffers (#1507) Dzmitry Malyshau 2021-11-03 22:44:46 -04:00
  • d9b166816b [glsl-in] Add helper to reduce repetition. (#1505) Shohei Jinno 2021-11-02 18:05:59 -07:00
  • c1b378842e Make tests properly exercise Some("") global names. (#1503) Jim Blandy 2021-11-01 11:07:11 -07:00
  • 323999fcb9 Fix span includes into function validation (#1500) Dzmitry Malyshau 2021-10-31 23:58:58 -04:00
  • 9d2b357214 [glsl\wgsl out] Remove unnecessary clones (#1492) Igor Shaposhnik 2021-10-28 20:54:32 +03:00
  • d1cfdd15a0 Add test for last falltrough switch case Igor Shaposhnik 2021-10-27 11:59:15 +03:00
  • 0458f0a404 [valid] Check that the last switch case isn't falltrough (#1485) João Capucho 2021-10-27 02:33:49 +01:00
  • 00bbbed90a Handle empty variable names in namer (#1484) Igor Shaposhnik 2021-10-27 00:46:27 +03:00
  • 63dbd38edc Make default a switch case (#1477) João Capucho 2021-10-26 18:31:54 +01:00
  • 5cf11ab734 Make use of AddSpan and MapErrWithSpan conditional. Jim Blandy 2021-10-25 11:31:22 -07:00
  • 8c071ef122 [wgsl-in] Always flush expressions in function call (#1478) João Capucho 2021-10-25 19:17:55 +01:00
  • f8d3c4bc8e [wgsl-in] Add support for function call statements (#1476) João Capucho 2021-10-25 17:15:58 +01:00
  • ec001c3ead Use span information in analyzer errors (proof of concept) (#1470) Alex Es 2021-10-25 05:47:03 +03:00
  • fd5085277a Switch the constant in bevy-pbr to avoid display incosistencies Dzmitry Malyshau 2021-10-23 23:31:30 -04:00
  • a03f23c132 Allow new clippy::if_same_then_else Dzmitry Malyshau 2021-10-23 23:25:25 -04:00