Dzmitry Malyshau
|
6166b95b6a
|
[msl] inline some of the constants
|
2021-04-08 12:36:43 -04:00 |
|
Dzmitry Malyshau
|
2774dcb403
|
[msl] inline some of the types
|
2021-04-08 11:10:52 -04:00 |
|
Dzmitry Malyshau
|
f1c5e04b89
|
[msl] fix select() arguments
|
2021-04-08 11:10:52 -04:00 |
|
Dzmitry Malyshau
|
e06451777e
|
[msl] address review comments, rename SubOptions to PipelineOptions, add more inlined states
|
2021-04-07 22:49:13 -04:00 |
|
Dzmitry Malyshau
|
499f2e3cbe
|
[msl] add a snapshot test for inline sampler
|
2021-04-07 22:49:13 -04:00 |
|
Dzmitry Malyshau
|
7c11759041
|
Re-use the MSL types in snapshot code
|
2021-04-07 22:49:13 -04:00 |
|
Dzmitry Malyshau
|
9e09c792dc
|
[msl] write down inline samplers
|
2021-04-07 22:49:13 -04:00 |
|
Dzmitry Malyshau
|
dcbedd17d0
|
[msl] basic infrastructure for inline samplers
Also move out "allow_point_size" into SubOptions to allow
main Options to not be cloned.
|
2021-04-07 22:49:13 -04:00 |
|
adamnemecek
|
0058ce5a7d
|
fixed bug where metal backend would make all switch cases fallthrough
|
2021-04-04 18:30:04 -04:00 |
|
Dzmitry Malyshau
|
0369ee181e
|
[spv-out] fix sampling from depth textures
|
2021-04-04 10:25:46 -04:00 |
|
Dzmitry Malyshau
|
a9bde26785
|
[spv-out] fix incorrect dummy result
|
2021-04-04 10:25:46 -04:00 |
|
Dzmitry Malyshau
|
410c242daf
|
[spv-out] add a flag to adjust the coordinate space
|
2021-04-03 11:27:21 -04:00 |
|
Dzmitry Malyshau
|
100c2f42ed
|
[spv-out] cache access index constants
|
2021-04-03 11:27:21 -04:00 |
|
Dzmitry Malyshau
|
5673603bab
|
[spv-out] flip position Y
|
2021-04-03 11:27:21 -04:00 |
|
Dzmitry Malyshau
|
d4d9d7814f
|
[msl-out] option to omit point size output
|
2021-04-02 00:19:52 -04:00 |
|
Dzmitry Malyshau
|
cbdfbed32e
|
[msl-out] move return value statement into a function
|
2021-04-01 15:45:08 -04:00 |
|
Dzmitry Malyshau
|
13c9356873
|
[msl-out] track put_block stack sizes
|
2021-04-01 15:45:08 -04:00 |
|
Dzmitry Malyshau
|
f8b3c597ff
|
[msl-out] move image size query into a separate method
|
2021-04-01 15:45:08 -04:00 |
|
Dzmitry Malyshau
|
6a5c7f10ad
|
[msl-out] cast image load/store coordinates to unsigned
|
2021-04-01 10:47:28 -04:00 |
|
Dzmitry Malyshau
|
af4d989f55
|
[msl-out] copy array elements one by one
|
2021-04-01 10:26:59 -04:00 |
|
Dzmitry Malyshau
|
cf3a6da3ce
|
[msl] clean up emitted expressions at the end of a block
|
2021-04-01 10:26:59 -04:00 |
|
Dzmitry Malyshau
|
7a17da195c
|
[msl] use uint behind metal namespace only
|
2021-03-31 23:01:19 -04:00 |
|
Gordon-F
|
80a8243953
|
Fix Uint/Sint type conversion
|
2021-03-30 18:13:57 -04:00 |
|
Dzmitry Malyshau
|
7be524592a
|
[msl] fix mutability of function parameters
|
2021-03-30 15:43:53 -04:00 |
|
Dzmitry Malyshau
|
fc7b79ddff
|
[msl-out] make EntryPointError cloneable
|
2021-03-30 10:08:36 -04:00 |
|
Dzmitry Malyshau
|
baccfc68f5
|
[msl] fix constant array initialization
|
2021-03-30 00:38:00 -04:00 |
|
Dzmitry Malyshau
|
50059740f7
|
[msl] prefix lod options with metal namespace
|
2021-03-27 10:58:01 -04:00 |
|
Dzmitry Malyshau
|
f2155d49d1
|
[msl] fix initialization of arrayed members, enable METAL snapshot of quad-vert
|
2021-03-27 10:58:01 -04:00 |
|
Dzmitry Malyshau
|
00f4c07609
|
[msl] fix Select on vectors
|
2021-03-26 09:56:29 -04:00 |
|
Dzmitry Malyshau
|
a090afa3f5
|
[msl] write scalar constants before the types
|
2021-03-26 09:56:29 -04:00 |
|
Dzmitry Malyshau
|
bf193bb535
|
[msl] don't put expressions in double scopes
|
2021-03-26 09:56:29 -04:00 |
|
Dzmitry Malyshau
|
2b163dc2a1
|
[msl] fix pointer address spaces, private forwarding and initialization
|
2021-03-26 09:56:29 -04:00 |
|
Dzmitry Malyshau
|
7d042337e2
|
Align the block decoration with SPIR-V, require storage buffers
|
2021-03-25 12:34:25 -04:00 |
|
Gordon-F
|
ee43776c08
|
[glsl-out] Add samplers to reflection info
|
2021-03-23 22:14:22 -04:00 |
|
Dzmitry Malyshau
|
374f12b6ab
|
ID generator for SPIR-V
|
2021-03-23 10:11:50 -04:00 |
|
Dzmitry Malyshau
|
8712020115
|
Move Layouter into ModuleInfo
|
2021-03-23 10:11:50 -04:00 |
|
Dzmitry Malyshau
|
15a1941d6a
|
[msl-out] adjust error/stack size expectations
|
2021-03-22 15:17:00 -04:00 |
|
Dzmitry Malyshau
|
6086f13bf0
|
Move the growable typifier into frontend helpers
|
2021-03-22 15:17:00 -04:00 |
|
Dzmitry Malyshau
|
d4bc463d50
|
Stop using the old Typifier in the backends
|
2021-03-22 15:17:00 -04:00 |
|
Dzmitry Malyshau
|
1d3f2bbdb1
|
Merge FunctionAnalysisError into FunctionError
|
2021-03-22 15:17:00 -04:00 |
|
Dzmitry Malyshau
|
e3ae5904ba
|
Move AnalysisFlags into ValidationFlags, add bits for expressions and blocks
|
2021-03-20 22:25:49 -04:00 |
|
Dzmitry Malyshau
|
c992e638fe
|
Move all the validation into a separate meta-module
|
2021-03-20 22:25:49 -04:00 |
|
Dzmitry Malyshau
|
caee860b70
|
Make uniformity analysis optional
|
2021-03-20 22:25:49 -04:00 |
|
Dzmitry Malyshau
|
d58f9bdfde
|
Merge sample mask in/out builtins
|
2021-03-18 21:57:48 -04:00 |
|
Dzmitry Malyshau
|
72ede02888
|
Reduce the typifier error sizes
|
2021-03-18 10:26:26 -04:00 |
|
Dzmitry Malyshau
|
8c4598a141
|
[msl-out] test put_expession stack footprint in debug
Also change io::Error to fmt::Error
|
2021-03-18 10:26:26 -04:00 |
|
Dzmitry Malyshau
|
dd2cd92331
|
[msl-out] fix varying input structures
|
2021-03-17 16:59:23 -04:00 |
|
Dzmitry Malyshau
|
9390aa472d
|
[glsl-out] make varying names to match
|
2021-03-17 10:37:10 -04:00 |
|
Gordon-F
|
6736bcefa6
|
[glsl-out] Explicitly set location bindings
|
2021-03-17 09:40:06 -04:00 |
|
Dzmitry Malyshau
|
665ac49a01
|
Show expression uniformity in the Dot backend
|
2021-03-17 01:03:00 -04:00 |
|