summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_vs_aos.c
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-05-30 01:46:59 +0900
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-06-02 19:46:18 +0900
commit5b86ae60fe339ae0b813d16ec328a68ccb2b9514 (patch)
tree509830b5830acbc918eef2f64375079505016241 /src/gallium/auxiliary/draw/draw_vs_aos.c
parent2c7ae3371b6058988f7f10bf031d630b649f3831 (diff)
draw: Fix MSVC warnings.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs_aos.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_aos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_aos.c b/src/gallium/auxiliary/draw/draw_vs_aos.c
index 725f36b502..9e9f8bac1e 100644
--- a/src/gallium/auxiliary/draw/draw_vs_aos.c
+++ b/src/gallium/auxiliary/draw/draw_vs_aos.c
@@ -492,7 +492,7 @@ static struct x86_reg fetch_src( struct aos_compilation *cp,
src->SrcRegister.File,
src->SrcRegister.Index);
unsigned i;
- unsigned swz = 0;
+ ubyte swz = 0;
unsigned negs = 0;
unsigned abs = 0;
@@ -704,7 +704,7 @@ static void store_dest( struct aos_compilation *cp,
static void inject_scalar( struct aos_compilation *cp,
struct x86_reg dst,
struct x86_reg result,
- unsigned swizzle )
+ ubyte swizzle )
{
sse_shufps(cp->func, dst, dst, swizzle);
sse_movss(cp->func, dst, result);