mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
intel/vec4: fix log_data pointer
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 3384f029be ("intel/compiler: rework input parameters")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9421
Acked-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24307>
This commit is contained in:
parent
6e43618b82
commit
d62e494b37
2 changed files with 1 additions and 3 deletions
|
|
@ -2495,7 +2495,7 @@ vec4_visitor::run()
|
|||
bool allocated_without_spills = reg_allocate();
|
||||
|
||||
if (!allocated_without_spills) {
|
||||
brw_shader_perf_log(compiler, params->log_data,
|
||||
brw_shader_perf_log(compiler, log_data,
|
||||
"%s shader triggered register spilling. "
|
||||
"Try reducing the number of live vec4 values "
|
||||
"to improve performance.\n",
|
||||
|
|
|
|||
|
|
@ -342,8 +342,6 @@ private:
|
|||
const bool no_spills;
|
||||
|
||||
unsigned last_scratch; /**< measured in 32-byte (register size) units */
|
||||
|
||||
const struct brw_compile_params *params;
|
||||
};
|
||||
|
||||
} /* namespace brw */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue