aco/tests: initialize debug function
aco_log() will print the message to stderr. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7045>
This commit is contained in:
parent
966732e8ca
commit
6bf3c606be
|
@ -82,6 +82,9 @@ void create_program(enum chip_class chip_class, Stage stage, unsigned wave_size,
|
|||
program.reset(new Program);
|
||||
aco::init_program(program.get(), stage, &info, chip_class, family, &config);
|
||||
|
||||
program->debug.func = nullptr;
|
||||
program->debug.private_data = nullptr;
|
||||
|
||||
Block *block = program->create_and_insert_block();
|
||||
block->kind = block_kind_top_level;
|
||||
|
||||
|
|
Loading…
Reference in New Issue