Skip to content

Conversation

@ErichDonGubler
Copy link
Member

Connections

Testing
Since we're removing functionality, I don't think we need new coverage here.

Squash or Rebase?

Rebase.

@ErichDonGubler ErichDonGubler changed the title Remove max inter stage shader components Remove maxInterStageShaderVariables Dec 19, 2025
@ErichDonGubler ErichDonGubler changed the title Remove maxInterStageShaderVariables Remove maxInterStageShaderComponents Dec 19, 2025
TODO: split movement of `enum` mapping out
TODO: explain
- Prep for a new `enum` later, `naga::ShaderStage` is the closest thing.
@ErichDonGubler ErichDonGubler force-pushed the remove-max_inter_stage_shader_components branch from b2cea56 to 803112b Compare December 19, 2025 18:47
…lidation`

TODO: explain
- bundle state needed into same place
- Discovery: `compare_function` was being provided, but not checked, in
  other places. Intentional?
…tion (minus `clip-distances`)

Notable public API additions:

- New `StageError` variants:
	- `VertexOutputLocationTooLarge`
	- `TooManyVertexOutputs`
- Add new `shader_io_deductions` submodule of `wgpu_core::validation` with:
	- A `ShaderIoDeduction` trait
	- `enum MaxVertexShaderOutputDeduction`
	- `MaxInterStageShaderVariablesDeductions` for them.
@ErichDonGubler ErichDonGubler force-pushed the remove-max_inter_stage_shader_components branch from 803112b to 6ad65f9 Compare December 19, 2025 22:12
@ErichDonGubler ErichDonGubler force-pushed the remove-max_inter_stage_shader_components branch from 6ad65f9 to 49959f1 Compare December 19, 2025 22:22
@ErichDonGubler
Copy link
Member Author

Folding this into #8761.

@ErichDonGubler ErichDonGubler deleted the remove-max_inter_stage_shader_components branch December 20, 2025 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant