diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-11-11 10:47:10 -0700 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-11-11 14:35:39 -0700 |
commit | f4361540f8dd3016571523863b33481cba7a0c07 (patch) | |
tree | fdc507b29aa9f4276aed532b608b0ae0f21d681d /src/mesa/shader/prog_instruction.h | |
parent | 57d78067bde1b23351380700352e71ed977ebcfe (diff) |
mesa: allow relative indexing into all register files and indirect dst register indexing
Diffstat (limited to 'src/mesa/shader/prog_instruction.h')
-rw-r--r-- | src/mesa/shader/prog_instruction.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/mesa/shader/prog_instruction.h b/src/mesa/shader/prog_instruction.h index 8adbe4f3ca..268afc528c 100644 --- a/src/mesa/shader/prog_instruction.h +++ b/src/mesa/shader/prog_instruction.h @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.5.3 + * Version: 7.3 * - * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2008 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -288,13 +288,10 @@ struct prog_src_register */ struct prog_dst_register { - /** - * One of the PROGRAM_* register file values. - */ - GLuint File:4; - + GLuint File:4; /**< One of the PROGRAM_* register file values */ GLuint Index:8; GLuint WriteMask:4; + GLuint RelAddr:1; /** * \name Conditional destination update control. @@ -326,7 +323,7 @@ struct prog_dst_register GLuint CondSrc:1; /*@}*/ - GLuint pad:31; + GLuint pad:30; }; |