tree-wide: replace MAYBE_UNUSED with ASSERTED
[mesa.git] / src / intel / compiler / brw_fs.cpp
index 6d7435c5f3e79578f1c54c94dc65e38ae5e0d6b2..9bc0cfb27edaca11491ad354b5e6ce40b9745cd9 100644 (file)
@@ -7287,7 +7287,7 @@ fs_visitor::allocate_registers(unsigned min_dispatch_width, bool allow_spilling)
    schedule_instructions(SCHEDULE_POST);
 
    if (last_scratch > 0) {
-      MAYBE_UNUSED unsigned max_scratch_size = 2 * 1024 * 1024;
+      ASSERTED unsigned max_scratch_size = 2 * 1024 * 1024;
 
       prog_data->total_scratch = brw_get_scratch_size(last_scratch);