diff options
author | Marek Olšák <[email protected]> | 2017-06-09 17:15:07 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-12 18:24:37 +0200 |
commit | 1621b33d73894e7c0c3e2b7252adfcd107d7ebd5 (patch) | |
tree | 42c4ee13560ba0eb6c3e6e5d0583da8309450f53 /src/gallium/drivers/radeonsi/si_shader.h | |
parent | 30882ba0dd4727e218ad34c7f4ebac7da16d1d72 (diff) |
radeonsi: remove 8 bytes from si_shader_key by flattening opt.hw_vs
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index 7c04b7e2535..de520a27363 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -500,10 +500,9 @@ struct si_shader_key { /* Optimization flags for asynchronous compilation only. */ struct { - struct { - uint64_t kill_outputs; /* "get_unique_index" bits */ - unsigned clip_disable:1; - } hw_vs; /* HW VS (it can be VS, TES, GS) */ + /* For HW VS (it can be VS, TES, GS) */ + uint64_t kill_outputs; /* "get_unique_index" bits */ + unsigned clip_disable:1; /* For shaders where monolithic variants have better code. * |