aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965simple/brw_shader_info.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-05-31 19:54:20 +0200
committerMichal Krol <[email protected]>2008-05-31 19:54:20 +0200
commit01122116144619a93c7ebb852eaffb3a6c96fe67 (patch)
tree68e7ac337444f1aaa64a074d6320c6a0991b55bf /src/gallium/drivers/i965simple/brw_shader_info.c
parent99b46555499005bd9454fb4a91d28d4e7d93dba4 (diff)
brw: Fix build after TGSI declaration interface changes.
Diffstat (limited to 'src/gallium/drivers/i965simple/brw_shader_info.c')
-rw-r--r--src/gallium/drivers/i965simple/brw_shader_info.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/i965simple/brw_shader_info.c b/src/gallium/drivers/i965simple/brw_shader_info.c
index f4694a4433b..fb3da92421e 100644
--- a/src/gallium/drivers/i965simple/brw_shader_info.c
+++ b/src/gallium/drivers/i965simple/brw_shader_info.c
@@ -26,9 +26,7 @@ void brw_shader_info(const struct tgsi_token *tokens,
case TGSI_TOKEN_TYPE_DECLARATION:
{
const struct tgsi_full_declaration *decl = &parse.FullToken.FullDeclaration;
- unsigned last = decl->u.DeclarationRange.Last;
-
- assert( decl->Declaration.Declare == TGSI_DECLARE_RANGE );
+ unsigned last = decl->DeclarationRange.Last;
// Broken by crazy wpos init:
//assert( info->nr_regs[decl->Declaration.File] <= last);