diff options
author | Dave Airlie <[email protected]> | 2015-12-09 16:06:48 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2015-12-19 12:00:00 +1100 |
commit | 5dc22cadb5ed4a7cf8c7d1cbaf7296c27e567e0f (patch) | |
tree | a965f38db52662b424e59ac47716d32ef4532b26 /src/glx/compsize.c | |
parent | 69ea66231e807eee8e6748caeeb72324036a8b6d (diff) |
glsl: fix count_attribute_slots to allow for different 64-bit handling
So vertex shader input attributes are handled different than internal
varyings between shader stages, dvec3 and dvec4 only count as
one slot for vertex attributes, but for internal varyings, they
count as 2.
This patch comments all the uses of this API to clarify what we
pass in, except one which needs further investigation
Signed-off-by: Dave Airlie <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/glx/compsize.c')
0 files changed, 0 insertions, 0 deletions