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:

committed by
Marge Bot

parent
6e43618b82
commit
d62e494b37
@@ -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 */
|
||||
|
Reference in New Issue
Block a user