projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tree-wide: replace MAYBE_UNUSED with ASSERTED
[mesa.git]
/
src
/
intel
/
compiler
/
brw_fs.cpp
diff --git
a/src/intel/compiler/brw_fs.cpp
b/src/intel/compiler/brw_fs.cpp
index 6d7435c5f3e79578f1c54c94dc65e38ae5e0d6b2..9bc0cfb27edaca11491ad354b5e6ce40b9745cd9 100644
(file)
--- a/
src/intel/compiler/brw_fs.cpp
+++ b/
src/intel/compiler/brw_fs.cpp
@@
-7287,7
+7287,7
@@
fs_visitor::allocate_registers(unsigned min_dispatch_width, bool allow_spilling)
schedule_instructions(SCHEDULE_POST);
if (last_scratch > 0) {
-
MAYBE_UNUS
ED unsigned max_scratch_size = 2 * 1024 * 1024;
+
ASSERT
ED unsigned max_scratch_size = 2 * 1024 * 1024;
prog_data->total_scratch = brw_get_scratch_size(last_scratch);