projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff670b
)
i965/vec4: Fix signedness of brw_is_single_value_swizzle() argument.
author
Francisco Jerez
<currojerez@riseup.net>
Wed, 18 Mar 2015 12:32:37 +0000
(14:32 +0200)
committer
Francisco Jerez
<currojerez@riseup.net>
Mon, 23 Mar 2015 12:09:32 +0000
(14:09 +0200)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_reg.h
patch
|
blob
|
history
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 ||