Imbris
3a6814770a
Allow unconsumed inputs in fragment shaders ( #5531 )
...
* Allow unconsumed inputs in fragment shaders by removing them from vertex
outputs when generating HLSL.
Fixes https://github.com/gfx-rs/wgpu/issues/3748
* Add naga::back::hlsl::FragmentEntryPoint for providing information
about the fragment entry point when generating vertex entry points via
naga::back::hlsl::Writer::write. Vertex outputs not consumed by the
fragment entry point are omitted in the final output struct.
* Add naga snapshot test for this new feature,
* Remove Features::SHADER_UNUSED_VERTEX_OUTPUT,
StageError::InputNotConsumed, and associated validation logic.
* Make wgpu dx12 backend pass fragment shader info when generating
vertex HLSL.
* Add wgpu regression test for allowing unconsumed inputs.
* Address review
* Add note that nesting structs for the inter-stage interface can't
happen.
* Remove new TODO notes (some addressed and some transferred to an issue
https://github.com/gfx-rs/wgpu/issues/5577 )
* Changed issue that regression test refers to 3748 -> 5553
* Add debug_assert that binding.is_some() in hlsl writer
* Fix typos caught in CI
Also, fix compiling snapshot test when hlsl-out feature is not enabled.
2024-07-04 09:08:46 +02:00
..
2024-02-28 13:54:27 +01:00
2024-06-21 21:51:25 -07:00
2023-12-06 10:35:21 +01:00
2023-12-14 10:54:46 +01:00
2023-12-06 10:35:21 +01:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2024-06-08 18:36:26 -07:00
2024-06-08 18:36:26 -07:00
2023-10-25 14:25:04 -04:00
2024-06-08 18:36:26 -07:00
2024-06-08 18:36:26 -07:00
2024-06-08 18:36:26 -07:00
2024-06-08 18:36:26 -07:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2024-04-02 19:22:34 +02:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2024-05-14 17:57:04 +02:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2024-01-08 10:50:38 +01:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-12-12 12:48:10 +01:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2024-04-08 11:27:18 +02:00
2024-04-08 11:27:18 +02:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-11-23 12:17:21 +01:00
2023-11-23 12:17:21 +01:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2024-06-08 18:36:26 -07:00
2024-03-12 12:34:06 +01:00
2024-05-30 13:08:59 +02:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-12-12 12:48:10 +01:00
2024-04-05 18:07:41 +02:00
2024-04-05 18:07:41 +02:00
2024-04-05 18:07:41 +02:00
2024-04-05 18:07:41 +02:00
2024-04-05 18:07:41 +02:00
2024-04-22 08:38:31 -07:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-11-21 22:11:24 +00:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2024-02-08 18:27:58 +01:00
2024-02-08 18:27:58 +01:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-11-22 03:54:16 -07:00
2024-04-17 15:25:52 -04:00
2024-04-17 15:25:52 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2024-07-04 09:08:46 +02:00
2024-07-04 09:08:46 +02:00
2024-07-04 09:08:46 +02:00
2024-07-04 09:08:46 +02:00
2024-02-08 18:27:58 +01:00
2024-02-08 18:27:58 +01:00
2023-10-25 14:25:04 -04:00
2024-05-30 13:08:59 +02:00
2024-05-30 13:08:59 +02:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00
2023-10-25 14:25:04 -04:00