Commit 07d3bcf
Correct calculation of GL_MAX_VARYING_COMPONENTS
GL_MAX_VARYING_COMPONENTS does not equal maxVertexOutputComponents.
The minimum supported limit for GL_MAX_VARYING_COMPONENTS is 60,
whereas the minimum for maxVertexOutputComponents is 64.
On devices that have the minimum limits the existing code will
report a limit for GL_MAX_VARYING_COMPONENTS that is too large
(64 vs 60). Report instead as (GL_MAX_VARYING_VECTORS * 4).
Bug: angleproject:4233
Change-Id: I920a32cf21040ff5b64746fcf3489db740028d48
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1978638
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>1 parent 0af8b59 commit 07d3bcf
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1493 | 1493 | | |
1494 | 1494 | | |
1495 | 1495 | | |
1496 | | - | |
| 1496 | + | |
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
| |||
0 commit comments