Module: Mesa Branch: master Commit: 25448e4b7ebb61cce99236312f13705cc20c1630 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=25448e4b7ebb61cce99236312f13705cc20c1630
Author: Matt Turner <[email protected]> Date: Sun Nov 6 21:08:24 2016 -0800 i965: Make ERROR_IF usable from other functions. Reviewed-by: Kenneth Graunke <[email protected]> --- src/mesa/drivers/dri/i965/brw_eu_validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_eu_validate.c b/src/mesa/drivers/dri/i965/brw_eu_validate.c index fa1d67c..e23f1ec 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_validate.c +++ b/src/mesa/drivers/dri/i965/brw_eu_validate.c @@ -50,7 +50,6 @@ cat(struct string *dest, const struct string src) do { \ if (cond) { \ CAT(error_msg, error(msg)); \ - valid = false; \ } \ } while(0) @@ -178,6 +177,7 @@ brw_validate_instructions(const struct brw_codegen *p, int start_offset, if (error_msg.str && annotation) { annotation_insert_error(annotation, src_offset, error_msg.str); } + valid = valid && error_msg.len == 0; free(error_msg.str); } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
