summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_atifragshader.c
diff options
context:
space:
mode:
authorMiklós Máté <[email protected]>2015-12-16 00:05:42 +0100
committerIan Romanick <[email protected]>2015-12-17 12:09:58 -0800
commit6723b61753102aae46833810ecedf2213cd714b4 (patch)
tree84f7270cc55d587ff2ba039fd68a1ca472957a82 /src/mesa/swrast/s_atifragshader.c
parent555f67c3d717a52464b517cd6d9874468ab3bd92 (diff)
swrast: move two global defines to the only place where they are used
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_atifragshader.c')
-rw-r--r--src/mesa/swrast/s_atifragshader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_atifragshader.c b/src/mesa/swrast/s_atifragshader.c
index 2974deed41b..414a4144e25 100644
--- a/src/mesa/swrast/s_atifragshader.c
+++ b/src/mesa/swrast/s_atifragshader.c
@@ -26,6 +26,8 @@
#include "swrast/s_atifragshader.h"
#include "swrast/s_context.h"
+#define ATI_FS_INPUT_PRIMARY 0
+#define ATI_FS_INPUT_SECONDARY 1
/**
* State for executing ATI fragment shader.