Skip to content

Commit c0fa1bc

Browse files
ErichDonGublerjimblandy
authored andcommitted
fix(web)!: remove maxInterStageShaderComponents from vendored web-sys
1 parent d5082b7 commit c0fa1bc

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

wgpu/src/backend/webgpu.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,6 @@ fn map_wgt_limits(limits: webgpu_sys::GpuSupportedLimits) -> wgt::Limits {
815815
max_vertex_buffer_array_stride: limits.max_vertex_buffer_array_stride(),
816816
min_uniform_buffer_offset_alignment: limits.min_uniform_buffer_offset_alignment(),
817817
min_storage_buffer_offset_alignment: limits.min_storage_buffer_offset_alignment(),
818-
max_inter_stage_shader_components: limits.max_inter_stage_shader_components(),
819818
max_color_attachments: limits.max_color_attachments(),
820819
max_color_attachment_bytes_per_sample: limits.max_color_attachment_bytes_per_sample(),
821820
max_compute_workgroup_storage_size: limits.max_compute_workgroup_storage_size(),
@@ -829,6 +828,7 @@ fn map_wgt_limits(limits: webgpu_sys::GpuSupportedLimits) -> wgt::Limits {
829828
max_subgroup_size: wgt::Limits::default().max_subgroup_size,
830829
max_push_constant_size: wgt::Limits::default().max_push_constant_size,
831830
max_non_sampler_bindings: wgt::Limits::default().max_non_sampler_bindings,
831+
max_inter_stage_shader_components: wgt::Limits::default().max_inter_stage_shader_components,
832832
}
833833
}
834834

@@ -875,7 +875,6 @@ fn map_js_sys_limits(limits: &wgt::Limits) -> js_sys::Object {
875875
(maxBufferSize, max_buffer_size),
876876
(maxVertexAttributes, max_vertex_attributes),
877877
(maxVertexBufferArrayStride, max_vertex_buffer_array_stride),
878-
(maxInterStageShaderComponents, max_inter_stage_shader_components),
879878
(maxComputeWorkgroupStorageSize, max_compute_workgroup_storage_size),
880879
(maxComputeInvocationsPerWorkgroup, max_compute_invocations_per_workgroup),
881880
(maxComputeWorkgroupSizeX, max_compute_workgroup_size_x),

wgpu/src/backend/webgpu/webgpu_sys/gen_GpuSupportedLimits.rs

-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)