projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
904ed3b
)
i965: Mark branch unreachable in sampler state code.
author
Matt Turner
<mattst88@gmail.com>
Mon, 11 Aug 2014 04:32:24 +0000
(21:32 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Mon, 11 Aug 2014 17:40:01 +0000
(10:40 -0700)
Silences some uninitialized variable warnings.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_sampler_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_sampler_state.c
b/src/mesa/drivers/dri/i965/brw_sampler_state.c
index d03047bb3d6db26c1d3b8180057d86bd48df0c5f..544aa57b6d141db6041e1a9432893af5beeab9cd 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_sampler_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_sampler_state.c
@@
-352,7
+352,7
@@
brw_update_sampler_state(struct brw_context *brw,
mip_filter = BRW_MIPFILTER_LINEAR;
break;
default:
-
break
;
+
unreachable("not reached")
;
}
/* Select mag filter. */