intel/compiler: fix release build unused variable.
authorDave Airlie <airlied@redhat.com>
Wed, 3 Jan 2024 06:31:23 +0000 (16:31 +1000)
committerEric Engestrom <eric@engestrom.ch>
Thu, 4 Jan 2024 18:35:59 +0000 (18:35 +0000)
commit4ea8f20b19ad968ddbf91fe4b4e58003b63cd8b9
tree8a8c68f82bb8c56433a6a88775e0ea2e46b05ce4
parent548cc0dd8c8413b7e1c030c37b4694e18f34f3cc
intel/compiler: fix release build unused variable.

This is only used in an assert.

Fixes: 158ac265dfd0 ("intel/fs: Make helpers for saving/restoring instruction order")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26863>
(cherry picked from commit 37366fef682fbadcfd5d4376008ed0fc5542c8f1)
.pick_status.json
src/intel/compiler/brw_fs.cpp