Skip to content
Commit af8076e1 authored by Tapani Pälli's avatar Tapani Pälli Committed by Dylan Baker
Browse files

glsl: handle error case with ast_post_inc, ast_post_dec



Return ir_rvalue::error_value with ast_post_inc, ast_post_dec if
parser error was emitted previously. This way process_array_size
won't see bogus IR generated like with commit 9c676a64.

Signed-off-by: default avatarTapani Pälli <tapani.palli@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98699


Reviewed-by: default avatarIago Toral Quiroga <itoral@igalia.com>
(cherry picked from commit 03a5acec)
parent 8d742a1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment