summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965simple/brw_sf.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_sf.c
parent99b46555499005bd9454fb4a91d28d4e7d93dba4 (diff)
brw: Fix build after TGSI declaration interface changes.
Diffstat (limited to 'src/gallium/drivers/i965simple/brw_sf.c')
-rw-r--r--src/gallium/drivers/i965simple/brw_sf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/i965simple/brw_sf.c b/src/gallium/drivers/i965simple/brw_sf.c
index c3b815a82be..96f8fb87a3d 100644
--- a/src/gallium/drivers/i965simple/brw_sf.c
+++ b/src/gallium/drivers/i965simple/brw_sf.c
@@ -169,9 +169,9 @@ static void upload_sf_prog( struct brw_context *brw )
case TGSI_TOKEN_TYPE_DECLARATION:
if (parse.FullToken.FullDeclaration.Declaration.File == TGSI_FILE_INPUT)
{
- int first = parse.FullToken.FullDeclaration.u.DeclarationRange.First;
- int last = parse.FullToken.FullDeclaration.u.DeclarationRange.Last;
- int interp_mode = parse.FullToken.FullDeclaration.Interpolation.Interpolate;
+ int first = parse.FullToken.FullDeclaration.DeclarationRange.First;
+ int last = parse.FullToken.FullDeclaration.DeclarationRange.Last;
+ int interp_mode = parse.FullToken.FullDeclaration.Declaration.Interpolate;
//int semantic = parse.FullToken.FullDeclaration.Semantic.SemanticName;
//int semantic_index = parse.FullToken.FullDeclaration.Semantic.SemanticIndex;
@@ -291,8 +291,8 @@ static void update_sf_linkage( struct brw_context *brw )
case TGSI_TOKEN_TYPE_DECLARATION:
if (parse.FullToken.FullDeclaration.Declaration.File == TGSI_FILE_INPUT)
{
- int first = parse.FullToken.FullDeclaration.u.DeclarationRange.First;
- int last = parse.FullToken.FullDeclaration.u.DeclarationRange.Last;
+ int first = parse.FullToken.FullDeclaration.DeclarationRange.First;
+ int last = parse.FullToken.FullDeclaration.DeclarationRange.Last;
for (i = first; i < last; i++) {
vp_semantic[i].semantic =