diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-23 16:02:49 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-26 11:42:32 -0700 |
commit | 0acb5c1774d8759ca5ee4c61a13ee745768b4d2d (patch) | |
tree | 7ffd10281c5e18bc29a6f0e00978c8e7759cd328 /src/panfrost/midgard/compiler.h | |
parent | 2e1be771e47adf1d06901283ffb8df0d83f28b3c (diff) |
pan/midgard: Switch constants to uint32
Storing constants as float doesn't make sense when we have integer
instructions; better to switch to be integer natively and coerce to/from
float rather than the opposite.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/compiler.h')
-rw-r--r-- | src/panfrost/midgard/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h index 75f9e4a93fc..a64bb55203d 100644 --- a/src/panfrost/midgard/compiler.h +++ b/src/panfrost/midgard/compiler.h @@ -109,7 +109,7 @@ typedef struct midgard_instruction { bool precede_break; bool has_constants; - float constants[4]; + uint32_t constants[4]; uint16_t inline_constant; bool has_blend_constant; |