mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
ir_print_visitor: Add "temporary" to mode string printing.
Variables with mode ir_var_temporary were causing an out of bounds array access and filling my screen with rubbish. I'm not sure if "temporary" is the right thing to print.
This commit is contained in:
parent
fbe4240626
commit
40c4298a6e
1 changed files with 2 additions and 1 deletions
|
|
@ -85,7 +85,8 @@ void ir_print_visitor::visit(ir_variable *ir)
|
|||
|
||||
const char *const cent = (ir->centroid) ? "centroid " : "";
|
||||
const char *const inv = (ir->invariant) ? "invariant " : "";
|
||||
const char *const mode[] = { "", "uniform ", "in ", "out ", "inout " };
|
||||
const char *const mode[] = { "", "uniform ", "in ", "out ", "inout ",
|
||||
"temporary " };
|
||||
const char *const interp[] = { "", "flat", "noperspective" };
|
||||
|
||||
printf("(%s%s%s%s) ",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue