diff options
author | Iago Toral Quiroga <[email protected]> | 2018-10-31 12:18:34 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2018-11-09 08:22:15 +0100 |
commit | 35baee5dce5eaa8785e0abc09c9a4d5f2aac97d4 (patch) | |
tree | a453e8800765d8564007195d1a62272552d5fc78 /src/mapi | |
parent | 6c418dfa42bfe38dc4525c9d2df12d0798ee64d3 (diff) |
nir/constant_folding: fix incorrect bit-size check
nir_alu_type_get_type_size takes a type as parameter and we were
passing a bit-size instead, which did what we wanted by accident,
since a bit-size of zero matches nir_type_invalid, which has a
size of 0 too.
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions