diff options
author | Paul Berry <[email protected]> | 2013-10-30 17:01:01 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-11-04 19:04:29 -0800 |
commit | 86cdff56353a223d3c9c1cd24bc83a1799eaa6d9 (patch) | |
tree | 30cf559195402f2f14aa81754051f3a064c0f8ee /src/mesa/Android.libmesa_st_mesa.mk | |
parent | 749cb8909714fed57b0213f4ad92def3bb24f153 (diff) |
glsl: Don't generate misleading debug names when packing gs inputs.
Previously, when packing geometry shader input varyings like this:
in float foo[3];
in float bar[3];
lower_packed_varyings would declare a packed varying like this:
(declare (shader_in flat) (array ivec4 3) packed:foo[0],bar[0])
That's confusing, since the packed varying acutally stores all three
values of foo and all three values of bar.
This patch causes it to generate the more sensible declaration:
(declare (shader_in flat) (array ivec4 3) packed:foo,bar)
Note that there should be no functional change for users of geometry
shaders, since the packed name is only used for generating debug
output. But this should reduce confusion when using INTEL_DEBUG=gs.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/Android.libmesa_st_mesa.mk')
0 files changed, 0 insertions, 0 deletions