From: Brian Paul Date: Wed, 6 Jan 2010 16:54:34 +0000 (-0700) Subject: svga: make texture_target a ubyte, not a bitfield X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8331aaf5b4847fd969b315045ec6f1185074722;p=mesa.git 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. --- 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]; };