Commit ff4e96cd authored by Erik Faye-Lund's avatar Erik Faye-Lund
Browse files

microsoft/compiler: use nir_shader_add_variable

Now that we're using the right variable-mode, this is the same, and
prepares us a bit more for the future where all variables will be in the
same list.
parent 37fc2d35
Pipeline #225718 waiting for manual action with stages
in 9 minutes and 15 seconds
......@@ -4263,7 +4263,7 @@ append_input_or_sysvalue(struct ntd_context *ctx, nir_shader *s,
if (!ctx->system_value[sv_slot])
return false;
exec_list_push_tail(&s->system_values, &ctx->system_value[sv_slot]->node);
nir_shader_add_variable(s, ctx->system_value[sv_slot]);
return true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment