After walking our IR instructions (Mesa or GLSL), we don't want to also
mark the start of the FB/URB writes or whatever as being that IR. This
can end up being misleading when the end of the IR visit got copy
propagated out to a later instruction in the URB writes.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
} else {
emit_fragment_program_code();
}
+ base_ir = NULL;
if (failed)
return false;
} else {
emit_vertex_program_code();
}
+ base_ir = NULL;
if (c->key.userclip_active && !c->key.uses_clip_distance)
setup_uniform_clipplane_values();