diff options
author | Edward O'Callaghan <[email protected]> | 2015-08-19 18:58:47 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-08-21 09:46:13 +1000 |
commit | 7a32652231f96eac14c4bfce02afe77b4132fb77 (patch) | |
tree | fb630dbff896925640d2d03d8bfc0dd6d68cfa9e /src/glx/dri2_glx.c | |
parent | e2145de74d6333f099613c595c5c46f79f54e59f (diff) |
r600: Turn 'r600_shader_key' struct into union
This struct was getting a bit crowded, following the lead of
radeonsi, mirror the idea of having sub-structures for each
shader type. Turning 'r600_shader_key' into an union saves
some trivial memory and CPU cycles for the shader keys.
[airlied: drop as_ls, and reorder so larger fields at start.]
Signed-off-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glx/dri2_glx.c')
0 files changed, 0 insertions, 0 deletions