diff options
author | Marek Olšák <[email protected]> | 2017-06-09 17:25:29 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-12 18:24:37 +0200 |
commit | 7b2240ac9ce3ba9bd86f4ae8aac53af8878c0b10 (patch) | |
tree | 89173bb1853a167e8832c716ba6157bf30eda790 /src/gallium/drivers/radeonsi/si_shader.h | |
parent | 1621b33d73894e7c0c3e2b7252adfcd107d7ebd5 (diff) |
radeonsi: use uint32_t to declare si_shader_key.opt.kill_outputs
the next patch will benefit from this
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 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index de520a27363..76e09b27e7c 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -501,7 +501,8 @@ struct si_shader_key { /* Optimization flags for asynchronous compilation only. */ struct { /* For HW VS (it can be VS, TES, GS) */ - uint64_t kill_outputs; /* "get_unique_index" bits */ + /* Don't use "uint64_t" in order to get 32-bit alignment. */ + uint32_t kill_outputs[2]; /* "get_unique_index" bits */ unsigned clip_disable:1; /* For shaders where monolithic variants have better code. |