summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-06 09:54:34 -0700
committerBrian Paul <brianp@vmware.com>2010-01-06 09:54:36 -0700
commitd8331aaf5b4847fd969b315045ec6f1185074722 (patch)
treece4b53482376ca5d0bb152764b6343ee15a426e7
parent439b34c9dde080ba9b69791b47f93bdcdaf3ab67 (diff)
svga: make texture_target a ubyte, not a bitfield
gcc won't let us take the address of a bitfield in the svga_fs_key_size() function.
-rw-r--r--src/gallium/drivers/svga/svga_tgsi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi.h b/src/gallium/drivers/svga/svga_tgsi.h
index 1309c33923..043b99115f 100644
--- a/src/gallium/drivers/svga/svga_tgsi.h
+++ b/src/gallium/drivers/svga/svga_tgsi.h
@@ -56,7 +56,7 @@ struct svga_fs_compile_key
unsigned compare_func:3;
unsigned unnormalized:1;
unsigned width_height_idx:7;
- unsigned texture_target:8;
+ ubyte texture_target;
} tex[PIPE_MAX_SAMPLERS];
};