mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-04 00:10:52 +00:00
[qfcc] Catch errors during spirv code-gen
Seeing errors built successful builds was a bit disconcerting.
This commit is contained in:
parent
3337d45aa0
commit
66b69e33da
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ compile_to_obj (const char *file, const char *obj, rua_ctx_t *ctx)
|
|||
err = pr.error_count;
|
||||
if (!err) {
|
||||
if (options.code.spirv) {
|
||||
err = spirv_write (&pr, obj);
|
||||
err = spirv_write (&pr, obj) || pr.error_count;
|
||||
} else {
|
||||
qfo = qfo_from_progs (&pr);
|
||||
err = qfo_write (qfo, obj);
|
||||
|
|
Loading…
Reference in a new issue