summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2011-09-30 21:48:18 +0100
committerChris Wilson <[email protected]>2011-09-30 21:49:29 +0100
commit8ccbcda5c64a8bea47f6b41d46bf015ba8e515fc (patch)
treebea09794bf20d1a2d7fcf072b25e13ab0ade698a /src/gallium
parent201485bae0fcba4db61ceb1e9d9916778b5bba74 (diff)
i965/gen6: Fix assign instead of compare in assert
This is from a Coverity defect report. src/mesa/drivers/dri/i965/brw_vec4_emit.cpp 268 static void 269 check_gen6_math_src_arg(struct brw_reg src) 270 { 271 /* Source swizzles are ignored. */ 272 assert(!src.abs); 273 assert(!src.negate); -> 274 assert(src.dw1.bits.swizzle = BRW_SWIZZLE_XYZW); 275 } Reported-by: Vinson Lee <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40214 Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions