Skip to content

Commit

Permalink
Add missing maxInterStageShaderComponents limit
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed Jul 11, 2024
1 parent e80b5e5 commit dac5b54
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,9 @@ RequiredLimits Application::GetRequiredLimits(Adapter adapter) const {
requiredLimits.limits.maxVertexBufferArrayStride = 3 * sizeof(float);
// ^ This was a 2

// There is a maximum of 3 float forwarded from vertex to fragment shader
requiredLimits.limits.maxInterStageShaderComponents = 3;

// These two limits are different because they are "minimum" limits,
// they are the only ones we are may forward from the adapter's supported
// limits.
Expand Down

0 comments on commit dac5b54

Please sign in to comment.