shader: move body emission to using buffer error state.

This avoids all the return checks in favour of setting
the error state in the string buffer, and cleans up the
result.

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Dave Airlie 6 years ago
parent 06799bf223
commit 695e7c3092
  1. 523
      src/vrend_shader.c

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save