diff options
author | Eric Anholt <[email protected]> | 2010-11-17 15:06:22 +0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-11-18 09:18:47 +0800 |
commit | d512cbf58f9039575dbbb5ab65dbbf7b742a0854 (patch) | |
tree | 9f4682851c6ccf1eafba9d6bd7aebc740ce805cc /src/mesa | |
parent | e89e8a4347dacceda0b131b55d16206e25eb984f (diff) |
i965: Shut up spurious gcc warning about GLSL_TYPE enums.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 9c03b61c82e..4ef71784d4e 100644 --- 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]; |