projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4656c14
)
meta/msaa-blit: consider weird sample count case unreachable
author
Chris Forbes
<chrisf@ijw.co.nz>
Sat, 11 Oct 2014 05:19:17 +0000
(18:19 +1300)
committer
Chris Forbes
<chrisf@ijw.co.nz>
Sat, 18 Oct 2014 06:09:28 +0000
(19:09 +1300)
Suppresses a bunch of warning noise about sample_map possibly being used
uninitialized.
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/common/meta_blit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/common/meta_blit.c
b/src/mesa/drivers/common/meta_blit.c
index c6616d93d3ce551c388a0979c4d16b9627831108..01cb532fef45bd022f62e7a27f2a2b97e5e2d44f 100644
(file)
--- a/
src/mesa/drivers/common/meta_blit.c
+++ b/
src/mesa/drivers/common/meta_blit.c
@@
-134,6
+134,7
@@
setup_glsl_msaa_blit_scaled_shader(struct gl_context *ctx,
break;
default:
_mesa_problem(ctx, "Unsupported sample count %d\n", samples);
+ unreachable("Unsupported sample count");
}
/* Create sample map string. */