mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
i965/vp: Fix crashes with INTEL_DEBUG=vs.
The VP generation doesn't set up the output reg strings, so if you didn't happen to get these values as 0 on the stack, you'd lose. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
0e5f94a552
commit
1db9a72351
1 changed files with 1 additions and 0 deletions
|
|
@ -2824,6 +2824,7 @@ vec4_visitor::vec4_visitor(struct brw_context *brw,
|
|||
|
||||
this->base_ir = NULL;
|
||||
this->current_annotation = NULL;
|
||||
memset(this->output_reg_annotation, 0, sizeof(this->output_reg_annotation));
|
||||
|
||||
this->c = c;
|
||||
this->vp = &c->vp->program;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue