diff options
author | Kenneth Graunke <[email protected]> | 2015-12-09 18:26:19 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-12-14 14:39:38 -0800 |
commit | 9f3917bf372aa19f85875dbe30ca12adc9b67b90 (patch) | |
tree | 0712c3eaa95a7cf0f33592c9a837b1d72fb6a725 /src/mesa/main/atifragshader.c | |
parent | 8c4deb10dfbef683a2052a7bd62450aa76ad8fde (diff) |
i965: Fix partial variable access for geometry shaders in SSO mode.
Without varying packing, if a VS writes a compound variable, and the GS
only reads part of it, the base location of the variable may not
actually be in the VUE map.
To cope with this, we do lowering in terms of varying slots, add any
constant offsets to the base, and then do the VUE map remapping. This
ensures we only look up VUE map entries for slots which actually exist.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main/atifragshader.c')
0 files changed, 0 insertions, 0 deletions