projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965/vec4: Simplify opt_reduce_swizzle() using the swizzle utils.
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_reg.h
diff --git
a/src/mesa/drivers/dri/i965/brw_reg.h
b/src/mesa/drivers/dri/i965/brw_reg.h
index adbb173988ca6e54278167b5ddc37fd33d2d9d58..c7cd194be5e76d04e37b765a0e6ef004b28c6149 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_reg.h
+++ b/
src/mesa/drivers/dri/i965/brw_reg.h
@@
-87,7
+87,7
@@
struct brw_context;
#define BRW_SWIZZLE_ZWZW BRW_SWIZZLE4(2,3,2,3)
static inline bool
-brw_is_single_value_swizzle(
int
swiz)
+brw_is_single_value_swizzle(
unsigned
swiz)
{
return (swiz == BRW_SWIZZLE_XXXX ||
swiz == BRW_SWIZZLE_YYYY ||