diff options
author | Brian Paul <[email protected]> | 2010-01-06 09:54:34 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-06 09:54:36 -0700 |
commit | d8331aaf5b4847fd969b315045ec6f1185074722 (patch) | |
tree | ce4b53482376ca5d0bb152764b6343ee15a426e7 /src/gallium/drivers/svga/svga_tgsi.h | |
parent | 439b34c9dde080ba9b69791b47f93bdcdaf3ab67 (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.
Diffstat (limited to 'src/gallium/drivers/svga/svga_tgsi.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_tgsi.h | 2 |
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 1309c339237..043b99115f7 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]; }; |