projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439b34c
)
svga: make texture_target a ubyte, not a bitfield
author
Brian Paul
<brianp@vmware.com>
Wed, 6 Jan 2010 16:54:34 +0000
(09:54 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 6 Jan 2010 16:54:36 +0000
(09:54 -0700)
gcc won't let us take the address of a bitfield in the svga_fs_key_size()
function.
src/gallium/drivers/svga/svga_tgsi.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_tgsi.h
b/src/gallium/drivers/svga/svga_tgsi.h
index 1309c339237d372746c55a6457eb4c4e0edc8aa1..043b99115f7988d0b26bca37f9a9d77dee42387a 100644
(file)
--- 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;
- u
nsigned texture_target:8
;
+ u
byte texture_target
;
} tex[PIPE_MAX_SAMPLERS];
};