summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/atifragshader.h
diff options
context:
space:
mode:
authorMiklós Máté <[email protected]>2016-03-24 01:12:57 +0100
committerMarek Olšák <[email protected]>2016-03-27 19:58:33 +0200
commitdee274477fb36aebc0ebf3eb1a9c58d875ad7a6f (patch)
tree59259ff1c40a7aa405256b19a9102429c236f7a6 /src/mesa/main/atifragshader.h
parentd71c1e9e54d379ff312dca7eb4d717e3f20e4099 (diff)
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é <[email protected]> Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/atifragshader.h')
-rw-r--r--src/mesa/main/atifragshader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/atifragshader.h b/src/mesa/main/atifragshader.h
index 59011341018..0e32795da3b 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
{