mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
st/mesa: change instruction count assertion to > 0
Shaders should at least have an END instruction.
This commit is contained in:
parent
e978b24c87
commit
28576c9ac5
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ find_translated_vp(struct st_context *st,
|
|||
|
||||
stfp->num_input_slots = numIn;
|
||||
|
||||
assert(stfp->Base.Base.NumInstructions > 1);
|
||||
assert(stfp->Base.Base.NumInstructions > 0);
|
||||
|
||||
st_translate_fragment_program(st, stfp, stfp->input_to_slot);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue