projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ac1bc9
)
i915: add parens to silence operator precedence warning
author
Brian Paul
<brianp@vmware.com>
Tue, 10 Mar 2015 14:18:27 +0000
(08:18 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 11 Mar 2015 15:34:07 +0000
(09:34 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/i915/i915_debug_fp.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i915/i915_debug_fp.c
b/src/mesa/drivers/dri/i915/i915_debug_fp.c
index 3f0990226401c0d360edd85d8c118c68aeff5093..d107c5afb381c28591e71befd0dd49ff07e97227 100644
(file)
--- a/
src/mesa/drivers/dri/i915/i915_debug_fp.c
+++ b/
src/mesa/drivers/dri/i915/i915_debug_fp.c
@@
-303,7
+303,7
@@
i915_disassemble_program(const GLuint * program, GLuint sz)
printf("\t\tBEGIN\n");
- assert(
program[0] & 0x1ff
+ 2 == sz);
+ assert(
(program[0] & 0x1ff)
+ 2 == sz);
program++;
for (i = 1; i < sz; i += 3, program += 3) {