Igor Shaposhnik
|
6e37f336bd
|
[glsl-out] Set workgroup_size for compute shaders
|
2021-03-02 14:26:01 -05:00 |
|
Igor Shaposhnik
|
04b1f44396
|
[glsl-out] Fix atan2 math function
|
2021-03-01 10:42:09 -05:00 |
|
Dzmitry Malyshau
|
7c2f4eac2e
|
[spv] fix unsigned selector and bitcast
|
2021-02-26 09:17:32 -05:00 |
|
Dzmitry Malyshau
|
afbcf05006
|
Move the convert from an example to a binary target
|
2021-02-25 10:05:21 -05:00 |
|
Dzmitry Malyshau
|
1dc955551b
|
[spv-out] use image_fetch where appropriate (#522)
|
2021-02-25 09:57:35 -05:00 |
|
Dzmitry Malyshau
|
0cefc1c46c
|
Remove mutation from the Call expression
|
2021-02-22 23:37:26 -05:00 |
|
Dzmitry Malyshau
|
694a00afcb
|
[spv-out] optimize if/else branching
|
2021-02-22 10:11:36 -05:00 |
|
Dzmitry Malyshau
|
26e6c2bdac
|
Use source attribute of errors
|
2021-02-19 22:10:25 -05:00 |
|
Dzmitry Malyshau
|
99c1add358
|
[msl] fake bindings
|
2021-02-19 19:20:21 -05:00 |
|
Dzmitry Malyshau
|
0e3f745fb2
|
[msl] derive thiserror
|
2021-02-19 16:56:45 -05:00 |
|
Dzmitry Malyshau
|
db0a8875d9
|
TypifyError with the expression handle
|
2021-02-19 16:56:45 -05:00 |
|
João Capucho
|
19e7f456c4
|
Remove the call graph processor
Uses the GlobalUse in glsl-out to check for function availability
|
2021-02-18 11:43:18 -05:00 |
|
Dzmitry Malyshau
|
8a0382a89d
|
Move global use flags into FunctionInfo
|
2021-02-17 15:37:37 -05:00 |
|
Dzmitry Malyshau
|
847d127ec8
|
Optimize Interface with a bitmask to avoid re-visiting expressions
|
2021-02-16 09:08:05 -05:00 |
|
Dzmitry Malyshau
|
e37268e60c
|
[msl] fix support for private globals
|
2021-02-16 09:08:05 -05:00 |
|
Dzmitry Malyshau
|
6d0c608626
|
[glsl-out] use existing Analysis instead of implementing Visitor
|
2021-02-15 11:13:11 -05:00 |
|
Joshua Groves
|
f42dc0c377
|
Fix some typos
|
2021-02-14 22:50:12 -05:00 |
|
Dzmitry Malyshau
|
ad423124c0
|
Support constants in the naming processor
|
2021-02-14 20:43:50 -05:00 |
|
Dzmitry Malyshau
|
61d711b58f
|
Remove the Header from IR
|
2021-02-14 20:23:31 -05:00 |
|
Systemcluster
|
7a124550d4
|
[glsl-in] support inverse function
|
2021-02-14 12:34:26 -05:00 |
|
Dzmitry Malyshau
|
18853ab149
|
Add warnings for trivial casts and clean them up in the code
|
2021-02-14 11:55:35 -05:00 |
|
Dzmitry Malyshau
|
8e96085caf
|
[spv-in] support image load/store ops
|
2021-02-14 11:55:35 -05:00 |
|
Dzmitry Malyshau
|
de5bd77279
|
ImageStore statement in IR
|
2021-02-14 11:55:35 -05:00 |
|
Dzmitry Malyshau
|
c1fc5d6424
|
[msl] re-use expression results based on the analysis
|
2021-02-14 01:19:15 -05:00 |
|
Anthony Cowley
|
d0ef4e9dbe
|
[spv-out] support select expressions
|
2021-02-13 22:56:43 -05:00 |
|
Dzmitry Malyshau
|
8183f4ff6f
|
[spv-out] annotate function and constant names
|
2021-02-13 19:37:54 -05:00 |
|
Dzmitry Malyshau
|
89f62bc584
|
[spv-out] make instruction constructions to be methods
|
2021-02-13 12:33:04 -05:00 |
|
Dzmitry Malyshau
|
f3cab651bb
|
[spv-out] support Switch statements
|
2021-02-12 10:17:27 -05:00 |
|
Dzmitry Malyshau
|
b3d80de9e1
|
[spv-out] fix the clippy warning about Result type
|
2021-02-11 11:24:06 -05:00 |
|
Dzmitry Malyshau
|
20227e7c87
|
[msl] pass-through global resources in arguments
|
2021-02-10 23:22:14 -05:00 |
|
Dzmitry Malyshau
|
dad02eb0a8
|
[msl-out] support all binary ops
|
2021-02-10 23:22:14 -05:00 |
|
Dzmitry Malyshau
|
680fda9e1b
|
[spv-out] fix initial ID 0 and 1 assignments
|
2021-02-08 00:20:37 -05:00 |
|
Dzmitry Malyshau
|
76094aa553
|
[mtl] fix nested loop service variable
|
2021-02-08 00:13:12 -05:00 |
|
João Capucho
|
e0005211a3
|
Fix the way equality is handled in glsl
|
2021-02-06 16:04:24 -05:00 |
|
Dzmitry Malyshau
|
d949d58f7b
|
Statement for void function call
|
2021-02-06 10:42:54 -05:00 |
|
João Capucho
|
ae72fb0933
|
Add support for component wise comparison to glsl
|
2021-02-06 00:41:00 -05:00 |
|
Dzmitry Malyshau
|
b1fa7471d2
|
Basic image query support in SPV and WGSL frontends
|
2021-02-05 15:26:45 -05:00 |
|
Dzmitry Malyshau
|
50f0ad6249
|
Image queries
|
2021-02-05 15:26:45 -05:00 |
|
Dzmitry Malyshau
|
c496c05ba4
|
Makefile commands for native shader validation
|
2021-02-05 14:04:02 -05:00 |
|
Dzmitry Malyshau
|
e05baa2889
|
[spv] put NonWritable on buffer variable itself (#405)
|
2021-02-01 20:17:50 -05:00 |
|
Dzmitry Malyshau
|
5def021b6e
|
[spv] replace the internal type inferrence with the typifier (#403)
Also, fix the Typifier's handling of logical operations.
See https://github.com/gfx-rs/naga/pull/404 for v0.3 branch.
|
2021-02-01 09:33:28 -05:00 |
|
Lain-dono
|
6ff725d89a
|
[spv-out] Add missing math functions (#401)
* [spv-out] Add missing builtins
* [spv-out] remove a non-existent integer version of mix
|
2021-02-01 00:28:17 -05:00 |
|
Lain-dono
|
208346fad6
|
[spv-out] implement discard
|
2021-01-31 23:39:45 -05:00 |
|
Dzmitry Malyshau
|
6138e4ddd3
|
[spv] fix block decoration on nested structs
|
2021-01-31 18:27:08 -05:00 |
|
Dzmitry Malyshau
|
7c6835bdbc
|
[spv] fix support for fixed-size array, refactor constant writes
|
2021-01-31 18:27:08 -05:00 |
|
Dzmitry Malyshau
|
1ec4c2b0d0
|
[spv] implement NonReadable/NonWritable decorations
|
2021-01-31 18:27:08 -05:00 |
|
Dzmitry Malyshau
|
15b629b750
|
[spv] put ColMajor on the struct member
|
2021-01-31 18:27:08 -05:00 |
|
Dzmitry Malyshau
|
b8e9c209b0
|
[mtl] fix unsigned constants, comparison level option
|
2021-01-30 15:14:38 +01:00 |
|
Dzmitry Malyshau
|
3b9f517446
|
[mtl] implement continuing, fix Greater op and scoping
|
2021-01-30 15:14:38 +01:00 |
|
Baptiste Manson
|
0c725c0837
|
added function pow from spirv backend
|
2021-01-29 17:38:41 -05:00 |
|