diff options
author | Marek Olšák <[email protected]> | 2019-10-25 12:01:27 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-11-05 23:35:31 -0500 |
commit | d5768fcd45a1b9e77d7b5e3385edebc2ac2736f0 (patch) | |
tree | 547fe49d62f4386215f9f24d19b0f65febcdfb9c /src/compiler/nir/nir.h | |
parent | 96e6ef80d932f12d3ed7ab5bc4aff6b370d6dc02 (diff) |
nir/serialize: don't expand 16-bit variable state slots to 32 bits
the swizzle also needs only 16 bits
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 3aa72a6a5c6..0dc604cce41 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -94,7 +94,7 @@ struct nir_builder; */ typedef struct { gl_state_index16 tokens[STATE_LENGTH]; - int swizzle; + uint16_t swizzle; } nir_state_slot; typedef enum { |