intel/clc: fix missing pointer write

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 346a7f14fb ("intel/compiler: Add code for compiling CL-style SPIR-V kernels")
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15611>
This commit is contained in:
Lionel Landwerlin 2022-03-28 17:17:57 +03:00 committed by Marge Bot
parent 03888bf09c
commit 684a4ea30c
1 changed files with 1 additions and 0 deletions

View File

@ -380,6 +380,7 @@ brw_kernel_from_spirv(struct brw_compiler *compiler,
/* No bindings */
struct brw_kernel_arg_desc *args =
rzalloc_array(mem_ctx, struct brw_kernel_arg_desc, kernel->arg_count);
kernel->args = args;
nir_foreach_uniform_variable(var, nir) {
struct brw_kernel_arg_desc arg_desc = {