summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2018-04-19 10:06:43 +0200
committerIago Toral Quiroga <[email protected]>2018-05-03 11:40:25 +0200
commit6318808a0559f7b2a8152592f0ae4e5ccc6953a9 (patch)
tree3363647dc802d2ca5549ea990c2cb631617e3416 /src/compiler
parentb11e9425df24f8c07a4cda85717407726f2d5330 (diff)
intel/compiler: fix 16-bit comparisons
NIR assumes that booleans are always 32-bit, but Intel hardware produces 16-bit booleans for 16-bit comparisons. This means that we need to convert the 16-bit result to 32-bit. In the future we want to add an optimization pass to clean this up and hopefully remove the conversions. v2 (Jason): use the type of the source for the temporary and use brw_reg_type_from_bit_size for the conversion to 32-bit. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions