Dzmitry Malyshau
6df9656e96
spv-out: Force wrapping of push constant structs
2021-12-16 16:21:06 -05:00
Dzmitry Malyshau
7bb886bf36
Enforce casting width better, fix IEqual/INotEqual in spv
2021-12-16 16:14:56 -05:00
João Capucho
12baa1e909
spv-in: Implement OpCopyObject
...
Treat it as a noop since the IR has no concept of copying objects
2021-12-16 13:11:20 -05:00
João Capucho
2a8d64fc59
spv-in: Implement remaining sign agnostic ops
2021-12-16 11:22:16 -05:00
João Capucho
cf0c31cc85
spv-in: Allow branch weights in OpBranchConditional
2021-12-16 10:58:27 -05:00
João Capucho
9c75f3cdce
glsl-in: Flatten entry point arguments
...
The IR doesn't allow having structs has bindings for entry point
input/output, so the glsl frontend must flatten them.
Glsl defines that the locations are sequential from the block base location.
2021-12-16 10:55:06 -05:00
stshine
f42342bbbf
hal/dx12: enable TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES ( #2295 )
2021-12-16 14:40:19 +00:00
João Capucho
049b48b319
spv-in: Remove if when both branches are equal
2021-12-15 23:55:20 -05:00
João Capucho
4334f0e6a9
Support bitwise And on booleans
2021-12-15 23:53:23 -05:00
João Capucho
c64d5eff50
Support bitwise Or on booleans
2021-12-15 23:53:23 -05:00
Dzmitry Malyshau
1e593a6bd3
Trace push/pop debug group on command encoder ( #2294 )
2021-12-15 17:48:48 +00:00
Dzmitry Malyshau
3960658529
Remove block decorations ( #2292 )
2021-12-15 12:29:37 -05:00
Dzmitry Malyshau
8ffd6ba929
Remove top_level property of structs
2021-12-15 09:33:33 -05:00
Dzmitry Malyshau
0e5892fa04
Update naga with Metal bounds checks ( #2276 )
2021-12-15 04:59:06 +00:00
Jim Blandy
3867ef4f6c
[msl-out] Correctly construct out-of-bounds values for all types.
2021-12-14 23:00:03 -05:00
Jim Blandy
8a2fbd360d
[msl-out] Add log tracing for functions and entry points.
2021-12-14 23:00:03 -05:00
Dzmitry Malyshau
6c2e8edb64
hal/gles: support ASTC, fix WebGL extensions for compressed formats ( #2289 )
2021-12-14 15:25:57 +00:00
Dzmitry Malyshau
f8beffe289
hal/dx12: expose WARP as a fallback adapter ( #2290 )
2021-12-14 15:05:28 +00:00
aloucks
79e42e08c3
Fix gles data type for 16bit unsigned normalized texture formats ( #2288 )
2021-12-13 14:57:04 -05:00
aloucks
70f7c375e0
Add feature gated 16-bit normalized texture support ( #2282 )
...
* Add feature gated 16-bit normalized texture support
Fixes #1934
* Query format properties only once
* Prevent supports_format from erroneously reporting false if the format wasn't queried
* Assert that 16bit norm formats also support on vulkan
* Add storage to TextureFormatInfo for 16-bit norm formats now that we check for support
2021-12-13 12:31:16 -05:00
Victor van den Elzen
f875e32455
GLES Wayland: properly resize on configure ( #2094 )
2021-12-12 14:13:42 -05:00
Markus
c4b331acb4
readme: list supported GLSL versions for glsl-in ( #1586 )
2021-12-11 21:29:49 -05:00
Lain-dono
e200e44ede
[spv-out] Fixing incorrect pack/unpack ( #1587 )
...
* [spv-out] Fixing incorrect pack/unpack
* [spv-out] Fixing incorrect pack/unpack: make tests happy
* [spv-out] Fixing incorrect pack/unpack: remove unexpected newline
2021-12-11 21:29:31 -05:00
Dzmitry Malyshau
873e83c54d
Publish WebGL examples
2021-12-11 17:26:45 -05:00
Max Ammann
3b48ed28f3
Fix link to angle project
2021-12-10 10:25:32 -05:00
João Capucho
1446b5274f
egl: Report if clamp to border is available
2021-12-09 21:28:46 -05:00
Dzmitry Malyshau
90685b5625
hal/vk: don't ask for 0 logging severity
2021-12-09 14:06:17 -05:00
Dzmitry Malyshau
a8caa367ee
Add limits for compute storage and max invocations
2021-12-08 21:43:41 -05:00
Dzmitry Malyshau
c1c855bb98
Allow strip index format None if no indexed drawing is done
2021-12-07 18:58:06 -05:00
pyrotechnick
6af7ca015e
[typo] Dimmension -> Dimension
2021-12-07 13:37:32 -05:00
Dzmitry Malyshau
ca10f8c456
Fix documentation for dynamic offsets order
2021-12-07 10:40:34 -05:00
Jim Blandy
f51f468a47
[msl-out] Implement index bounds check policies for non-texture accesses.
2021-12-06 15:53:41 -05:00
Jim Blandy
e8f564dc83
[spv-out] Add comment about AccessIndex on non-pointer values.
2021-12-06 15:53:41 -05:00
Jim Blandy
61e3af2989
[msl-out] Move Statement::Store handling into its own function.
2021-12-06 15:53:41 -05:00
Jim Blandy
17398e761f
[msl-out] Move Expression::Load handling into its own function.
...
No changes in behavior.
2021-12-06 15:53:41 -05:00
Jim Blandy
840bbaffcc
[msl-out] Rename put_dynamic_array_length, make it take a global.
2021-12-06 15:53:41 -05:00
Jim Blandy
89cc21ef43
[spv-out] BlockContext::write_expression_pointer doc fix.
2021-12-06 15:53:41 -05:00
Jim Blandy
6912cb3594
[spv-out] Move ExpressionPointer to back::spv::block, remove pub.
2021-12-06 15:53:41 -05:00
Connor Fitzgerald
d51f70e8a4
Workaround qcomm resolve attachment bug
2021-12-06 13:39:20 -05:00
Igor Shaposhnik
9cc2b730b7
[glsl-out] Add note about supported GLSL versions
2021-12-06 12:31:31 -05:00
Dzmitry Malyshau
f4bdf5c9a7
Remove --frozen from Deno instructions
2021-12-06 11:42:40 -05:00
João Capucho
14719553a6
glsl-in: fix pre/postfix ops on swizzles
2021-12-05 22:16:28 -05:00
Dzmitry Malyshau
e867a7434c
Let GLES/Angle path compile on macOS
2021-12-05 17:09:36 -05:00
Dzmitry Malyshau
ab28009d80
Angle support on Windows
...
Also remove the macros module in favor of generic functions.
2021-12-05 17:09:36 -05:00
Dzmitry Malyshau
c8d572a001
hal/gles: refactor EGL code to support Angle
2021-12-05 00:02:20 -05:00
Dzmitry Malyshau
8c3558d65e
hal/gles: try robustness extension first before the core
2021-12-05 00:02:20 -05:00
Dzmitry Malyshau
9bbea3d348
Update naga to c69f676
2021-12-04 12:46:49 -05:00
Dzmitry Malyshau
c69f676609
glsl: reflect textures without samplers
2021-12-04 12:19:36 -05:00
Samuel Hurel
35be31f02a
Add SampleRateShading spv capability
2021-12-03 17:12:16 -05:00
Dzmitry Malyshau
834eed75d0
Enable macOS and Linux AArch64 targets on CI
2021-12-03 17:11:26 -05:00