mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 04:10:10 +01:00
i915g: Stop translating the fragment program on the first error.
It would proceed through printing errors for each of the unsupported loop opcodes in the program. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11617>
This commit is contained in:
parent
8259ff0d22
commit
e65ea05276
1 changed files with 1 additions and 1 deletions
|
|
@ -914,7 +914,7 @@ i915_translate_instructions(struct i915_fp_compile *p,
|
|||
struct i915_fragment_shader *fs)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < tokens->NumTokens; i++) {
|
||||
for (i = 0; i < tokens->NumTokens && !p->error; i++) {
|
||||
i915_translate_token(p, &tokens->Tokens[i], fs);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue