aco: use s_round_mode/s_denorm_mode
[mesa.git] / src / amd / compiler / aco_ir.h
index a165a1681adf8fd440af7719f9756a81ac23ae45..8adbd567c01c4c65438d06f6a6c4430d875b213e 100644 (file)
@@ -142,6 +142,10 @@ struct float_mode {
           unsigned denorm32:2;
           unsigned denorm16_64:2;
       };
+      struct {
+         uint8_t round:4;
+         uint8_t denorm:4;
+      };
       uint8_t val = 0;
    };
    /* if false, optimizations which may remove infs/nan/-0.0 can be done */