projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9a4fc9
)
i965: Make ERROR_IF usable from other functions.
author
Matt Turner
<mattst88@gmail.com>
Mon, 7 Nov 2016 05:08:24 +0000
(21:08 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Fri, 20 Jan 2017 19:40:52 +0000
(11:40 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_validate.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_eu_validate.c
b/src/mesa/drivers/dri/i965/brw_eu_validate.c
index fa1d67c0c0ad185f552a73351cb21546a6ff8055..e23f1ec1b9547a9b7918f050200898890e1bacc4 100644
(file)
--- 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);
}