diff options
Diffstat (limited to 'src/mesa/shader/atifragshader.h')
-rw-r--r-- | src/mesa/shader/atifragshader.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mesa/shader/atifragshader.h b/src/mesa/shader/atifragshader.h index 82ac4746b6..def441e6f7 100644 --- a/src/mesa/shader/atifragshader.h +++ b/src/mesa/shader/atifragshader.h @@ -40,7 +40,7 @@ struct atifragshader_dst_register #define ATI_FRAGMENT_SHADER_PASS_OP 2 #define ATI_FRAGMENT_SHADER_SAMPLE_OP 3 -/* two opcodes - one for color/one for alpha - also pass/sample */ +/* two opcodes - one for color/one for alpha */ /* up to three source registers for most ops */ struct atifs_instruction { @@ -50,6 +50,14 @@ struct atifs_instruction struct atifragshader_dst_register DstReg[2]; }; +/* different from arithmetic shader instruction */ +struct atifs_setupinst +{ + GLenum Opcode; + GLuint src; + GLenum swizzle; +}; + extern GLuint GLAPIENTRY _mesa_GenFragmentShadersATI(GLuint range); extern void GLAPIENTRY _mesa_BindFragmentShaderATI(GLuint id); |