Dzmitry Malyshau
3109b1b63d
hal/mtl: most of the command encoding
2021-06-10 02:31:31 -04:00
Dzmitry Malyshau
3bd0e8b050
Validate storage class
2021-05-06 13:25:34 -04:00
Dzmitry Malyshau
cc2e547d48
Update gfx to the new image view API
2021-04-20 10:16:30 -04:00
Dzmitry Malyshau
cac643507b
Validate min/max blending factors
2021-04-20 09:37:07 -04:00
Dzmitry Malyshau
27f51ca252
Update naga to gfx-22, add interpolation sampling validation
2021-04-19 13:33:36 -04:00
Dzmitry Malyshau
280ba30c6c
Don't compare booleans
2021-04-18 10:25:54 -04:00
Dzmitry Malyshau
6d7ef8b8fd
Validate filtered sampling
2021-04-18 10:25:54 -04:00
Dzmitry Malyshau
78652e93f4
Make input stage errors more detailed
2021-04-13 23:01:02 -04:00
Dzmitry Malyshau
b7a0410e09
Relax vertex attribute matching, also check interpolation
2021-04-13 22:19:44 -04:00
Ashley
ff75948848
Allow non-storage textures to be able to be queried in validation ( #1324 )
...
* Improve the WrongUsage error and allow textures to use query
* Run cargo fmt
* Further improve the error
* Add more QUERY flags
2021-04-13 10:12:17 -04:00
Dzmitry Malyshau
1ba95585ba
Update naga to gfx-21
2021-04-11 01:07:46 -04:00
Gordon-F
c1f8203f3c
Update naga to gfx-18
2021-03-25 16:59:16 +03:00
Connor Fitzgerald
cf6f9c3ca8
Move from tracing to log + profiling
2021-03-17 01:22:30 -04:00
Dzmitry Malyshau
3b1b11f441
Update naga to gfx-15
2021-03-16 12:52:32 -04:00
Dzmitry Malyshau
280c066e65
Update to naga-14
2021-03-14 00:27:57 -05:00
Dzmitry Malyshau
231bba03a1
Lint all the things
2021-03-12 12:39:04 -05:00
Anthony Cowley and Dzmitry Malyshau
f01feacc2e
Update gfx and naga to gfx-13 tag ( #1248 )
...
* wgpu-core: update gfx-hal usage related to sparse resources
* wgpu-core: support naga gfx-13
* Update gfx and naga dependencies to gfx-13 tag
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-03-10 00:04:16 -05:00
Dzmitry Malyshau
cf165f9a3e
Update VertexFormat variants
2021-02-25 15:25:56 -05:00
Dzmitry Malyshau
91f5329b33
Update gfx and naga to gfx-12
2021-02-21 11:25:45 -05:00
Dzmitry Malyshau
42d3f1f087
Update naga to gfx-10, add push constants validation
2021-02-09 10:06:55 -05:00
Jonathan Behrens and monocodus[bot]
a97ec9df91
Add SHADER_FLOAT64 feature ( #1154 )
...
* Add SHADER_FLOAT64 feature
* Also enable SHADER_FLOAT64 hal feature when creating the device
* Update wgpu-core/src/instance.rs
Co-authored-by: monocodus[bot] <49363530+monocodus[bot]@users.noreply.github.com>
* Add warning about 64-bit float performance
* Add (currently unsupported) VERTEX_ATTRIBUTE_64BIT feature
Co-authored-by: monocodus[bot] <49363530+monocodus[bot]@users.noreply.github.com>
2021-01-24 21:59:09 -05:00
Dzmitry Malyshau
952ccbcf85
Update naga to gfx-7
2021-01-23 22:17:09 -05:00
Dzmitry Malyshau
87c8cb8fde
Update gfx and naga to gfx-6 tag, fix the hub clears
2021-01-16 01:38:57 -05:00
Andreas Reich
0ccad9a466
wip adapter specific format features & rw storage
2020-12-29 17:14:22 +01:00
Dzmitry Malyshau
f07cc8156b
Update naga and gfx, move the shader validation into a shader descriptor bit
2020-12-17 11:33:47 -05:00
Dzmitry Malyshau
dccc57e7b5
Switch playtests to WGSL
2020-12-06 14:51:23 -05:00
Connor Fitzgerald
8f430ab1ef
Implement ETC2 and ASTC textures
2020-12-05 19:30:26 -05:00
Dzmitry Malyshau
749f737c89
Add pervasive Naga support to shader module loading
...
The purpose of the PR is to support Naga modules everywhere.
As a requirement, it updates the gfx-rs version used.
Most of the logic is dedicated towards building a shader interface,
where previously we just used naga's IR. Now we have our own mini-IR.
2020-12-05 11:31:03 -05:00
Dzmitry Malyshau
5949dec61d
Update bind group layout API to match upstream
2020-11-28 00:30:27 -05:00
Dzmitry Malyshau
b0a98548d1
Update naga to 4d4e1cd4cb
2020-11-13 12:26:48 -05:00
Dzmitry Malyshau
50594a747d
Another small Naga update
2020-10-07 16:14:25 -04:00
Dzmitry Malyshau
c18ac58fd8
Update naga with the new usage validation
2020-09-28 10:18:35 -04:00
Dzmitry Malyshau
6a3c106cc4
Update naga with new image API
2020-09-11 12:34:20 -04:00
Dzmitry Malyshau
ceac2344fc
Update naga to bd9efe5915
2020-08-27 11:52:02 -04:00
Dzmitry Malyshau
03becf1a17
Force width=4 in all shader-matched variables
2020-08-26 15:53:39 -04:00
Dzmitry Malyshau
b5475d7d80
Update naga to 4797773152
2020-08-26 15:35:14 -04:00
Dzmitry Malyshau
d8efe3b6fe
Attempt to unite implicit layout code between compute and render
2020-08-09 18:16:03 -04:00
Dzmitry Malyshau
173c7c3dbf
Create implicit layouts for render pipelines
2020-08-09 14:43:44 -04:00
Dzmitry Malyshau
f18fa7ef9b
Derive bind group layout entries in Naga validation
2020-08-08 01:09:41 -04:00
Dzmitry Malyshau
dbd7e2c579
Separate valid internal IDs from external ones
2020-08-04 11:16:59 -04:00
Dzmitry Malyshau
3291b72368
Update naga and fix type widths
2020-07-31 23:46:19 -04:00
Connor Fitzgerald
e5c647745e
Implement TEXTURE_COMPRESSION_BC extension
2020-07-29 18:43:50 -04:00
Connor Fitzgerald
cb485f3798
Convert all logging to tracing and add fmt logger
2020-07-25 19:33:21 -04:00
Dzmitry Malyshau
82d149b871
Naga update, remove spirv_headers dependency
2020-07-22 11:05:42 -04:00
Gabriel Majeri
a27b24215d
Convert the existing error types to thiserror
2020-07-18 07:29:20 +03:00
Gabriel Majeri
ce5bcf86f1
Use thiserror for validation module
2020-07-17 20:21:19 +03:00
Dzmitry Malyshau
ff5c9c9ffc
Naga update with offsets and strides
2020-06-19 11:14:29 -04:00
Dzmitry Malyshau
35a1dc3076
Basic support for WGSL
2020-06-17 13:29:43 -04:00
Dzmitry Malyshau
a27341bd6d
Basic support for minBufferBindingSize
2020-06-16 00:34:58 -04:00
Connor Fitzgerald
57b3b72571
Implement TEXTURE_BINDING_ARRAY extension
2020-06-10 22:35:25 -04:00