projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e89e8a4
)
i965: Shut up spurious gcc warning about GLSL_TYPE enums.
author
Eric Anholt
<eric@anholt.net>
Wed, 17 Nov 2010 07:06:22 +0000
(15:06 +0800)
committer
Eric Anholt
<eric@anholt.net>
Thu, 18 Nov 2010 01:18:47 +0000
(09:18 +0800)
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 9c03b61c82e49c3d39c62b74b1e892d7389a6c0e..4ef71784d4ea158767d0862f50d8c61031ba44b2 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-299,6
+299,10
@@
fs_visitor::setup_uniform_values(int loc, const glsl_type *type)
case GLSL_TYPE_BOOL:
c->prog_data.param_convert[param] = PARAM_CONVERT_F2B;
break;
+ default:
+ assert(!"not reached");
+ c->prog_data.param_convert[param] = PARAM_NO_CONVERT;
+ break;
}
c->prog_data.param[param] = &vec_values[i];