mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
intel: disable FS IR validation in release mode.
We probably don't need to iterate, fprintf, and abort in release mode. Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
b3c6146925
commit
8f8111646c
1 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,7 @@
|
|||
void
|
||||
fs_visitor::validate()
|
||||
{
|
||||
#ifndef NDEBUG
|
||||
foreach_block_and_inst (block, fs_inst, inst, cfg) {
|
||||
if (inst->dst.file == VGRF) {
|
||||
fsv_assert(inst->dst.offset / REG_SIZE + regs_written(inst) <=
|
||||
|
|
@ -54,4 +55,5 @@ fs_visitor::validate()
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue