swrast: move two global defines to the only place where they are used

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Miklós Máté 2015-12-16 00:05:42 +01:00 committed by Ian Romanick
parent 555f67c3d7
commit 6723b61753
2 changed files with 2 additions and 2 deletions

View file

@ -2155,8 +2155,6 @@ struct gl_compute_program_state
/**
* ATI_fragment_shader runtime state
*/
#define ATI_FS_INPUT_PRIMARY 0
#define ATI_FS_INPUT_SECONDARY 1
struct atifs_instruction;
struct atifs_setupinst;

View file

@ -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.