You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,7 @@ Bottom level categories:
85
85
- Tracing support has been restored. By @andyleiserson in [#8429](https://github.com/gfx-rs/wgpu/pull/8429).
86
86
- Pipelines using passthrough shaders now correctly require explicit pipeline layout. By @inner-daemons in #8881.
87
87
- Allow using a shader that defines I/O for dual-source blending in a pipeline that does not make use of it. By @andyleiserson in [#8856](https://github.com/gfx-rs/wgpu/pull/8856).
88
+
- Validate `strip_index_format` isn't None and equals index buffer format for indexed drawing with strip topology. By @beicause in [#8850](https://github.com/gfx-rs/wgpu/pull/8850).
Copy file name to clipboardExpand all lines: wgpu-core/src/command/draw.rs
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -46,17 +46,14 @@ pub enum DrawError {
46
46
},
47
47
#[error("Index {last_index} extends beyond limit {index_limit}. Did you bind the correct index buffer?")]
48
48
IndexBeyondLimit{last_index:u64,index_limit:u64},
49
-
#[error(
50
-
"Index buffer format {buffer_format:?} doesn't match {pipeline}'s index format {pipeline_format:?}"
51
-
)]
52
-
UnmatchedIndexFormats{
49
+
#[error("For indexed drawing with strip topology, {pipeline}'s strip index format {strip_index_format:?} must match index buffer format {buffer_format:?}")]
0 commit comments