diff options
author | Miklós Máté <mtmkls@gmail.com> | 2016-03-24 01:12:57 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2016-03-27 19:58:33 +0200 |
commit | dee274477fb36aebc0ebf3eb1a9c58d875ad7a6f (patch) | |
tree | 59259ff1c40a7aa405256b19a9102429c236f7a6 /src/mesa/main | |
parent | d71c1e9e54d379ff312dca7eb4d717e3f20e4099 (diff) | |
download | external_mesa3d-dee274477fb36aebc0ebf3eb1a9c58d875ad7a6f.zip external_mesa3d-dee274477fb36aebc0ebf3eb1a9c58d875ad7a6f.tar.gz external_mesa3d-dee274477fb36aebc0ebf3eb1a9c58d875ad7a6f.tar.bz2 |
st/mesa: implement GL_ATI_fragment_shader
v2: fix arithmetic for special opcodes,
fix fog state, cleanup
v3: simplify handling of special opcodes,
fix rebinding with different textargets or fog equation,
lots of formatting fixes
v4: adapt to the compile early, fix later architecture,
formatting fixes
Signed-off-by: Miklós Máté <mtmkls@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/atifragshader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/atifragshader.h b/src/mesa/main/atifragshader.h index 5901134..0e32795 100644 --- a/src/mesa/main/atifragshader.h +++ b/src/mesa/main/atifragshader.h @@ -16,6 +16,7 @@ struct gl_context; #define MAX_NUM_INSTRUCTIONS_PER_PASS_ATI 8 #define MAX_NUM_PASSES_ATI 2 #define MAX_NUM_FRAGMENT_REGISTERS_ATI 6 +#define MAX_NUM_FRAGMENT_CONSTANTS_ATI 8 struct ati_fs_opcode_st { |