mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
added assertion to catch use of too many temporaries
This commit is contained in:
parent
fa8059a89c
commit
f167d0e7d5
1 changed files with 1 additions and 0 deletions
|
|
@ -832,6 +832,7 @@ static struct reg cvp_load_reg( struct compilation *cp,
|
|||
|
||||
switch (file) {
|
||||
case PROGRAM_TEMPORARY:
|
||||
assert(REG_TMP0 + index <= REG_TMP11);
|
||||
return cvp_make_reg(FILE_REG, REG_TMP0 + index);
|
||||
|
||||
case PROGRAM_INPUT:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue