File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -296,8 +296,6 @@ pub enum StageError {
296296 per_dimension_limit : & ' static str ,
297297 total_limit : & ' static str ,
298298 } ,
299- #[ error( "Shader uses {used} inter-stage components above the limit of {limit}" ) ]
300- TooManyVaryings { used : u32 , limit : u32 } ,
301299 #[ error( "Unable to find entry point '{0}'" ) ]
302300 MissingEntryPoint ( String ) ,
303301 #[ error( "Shader global {0:?} is not available in the pipeline layout" ) ]
@@ -1610,13 +1608,6 @@ impl Interface {
16101608 _ => ( ) ,
16111609 }
16121610
1613- if inter_stage_components > self . limits . max_inter_stage_shader_components {
1614- return Err ( StageError :: TooManyVaryings {
1615- used : inter_stage_components,
1616- limit : self . limits . max_inter_stage_shader_components ,
1617- } ) ;
1618- }
1619-
16201611 if let Some ( ref mesh_info) = entry_point. mesh_info {
16211612 if mesh_info. max_vertices > self . limits . max_mesh_output_vertices {
16221613 return Err ( StageError :: TooManyMeshVertices {
Original file line number Diff line number Diff line change @@ -193,10 +193,6 @@ pub struct Limits {
193193 /// when creating a `BindGroup`, or for `set_bind_group` `dynamicOffsets`.
194194 /// Defaults to 256. Lower is "better".
195195 pub min_storage_buffer_offset_alignment : u32 ,
196- /// Maximum allowed number of components (scalars) of input or output locations for
197- /// inter-stage communication (vertex outputs to fragment inputs). Defaults to 60.
198- /// Higher is "better".
199- pub max_inter_stage_shader_components : u32 ,
200196 /// The maximum allowed number of color attachments.
201197 pub max_color_attachments : u32 ,
202198 /// The maximum number of bytes necessary to hold one sample (pixel or subpixel) of render
You can’t perform that action at this time.
0 commit comments