diff options
author | Dave Airlie <[email protected]> | 2015-09-08 08:36:32 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-09-09 08:42:06 +1000 |
commit | 6d2ceb10cd63b89892131a27d238620f00922dfb (patch) | |
tree | 2671d422084bb891b8971d2fe802645bd40a6205 /src/gallium/drivers/r600/Android.mk | |
parent | f5509874aa747167255c2fb739ed44be2445a4c6 (diff) |
r600: don't use shader key without verifying shader type (v2)
Since 7a32652231f96eac14c4bfce02afe77b4132fb77
r600: Turn 'r600_shader_key' struct into union
we were accessing key fields that might be aliased in the union
with other fields, so we should check what shader type we are
compiling for before using key values from it.
v1.1: make it compile
v2: have caffeine, make it work - we don't set type
until later, so don't reference it until we've set it.
Reviewed-by: Edward O'Callaghan <[email protected]>
Cc: "11.0" <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/Android.mk')
0 files changed, 0 insertions, 0 deletions