st/mesa: Clean up header file inclusion in st_program.h.
st_program.h Remove p_shader_tokens.h Include st_context.h for st_context symbol. Include p_state.h for PIPE_MAX_SHADER_INPUTS symbol. Remove unnecessary forward declarations. st_cb_bitmap.c st_cb_clear.c Include p_shader_tokens.h now that st_program.h doesn't include it.
This commit is contained in:
parent
4d10ec4f18
commit
f717fd25cc
|
@ -46,6 +46,7 @@
|
|||
|
||||
#include "pipe/p_context.h"
|
||||
#include "pipe/p_defines.h"
|
||||
#include "pipe/p_shader_tokens.h"
|
||||
#include "util/u_inlines.h"
|
||||
#include "util/u_draw_quad.h"
|
||||
#include "util/u_simple_shaders.h"
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
#include "st_program.h"
|
||||
|
||||
#include "pipe/p_context.h"
|
||||
#include "pipe/p_shader_tokens.h"
|
||||
#include "pipe/p_state.h"
|
||||
#include "pipe/p_defines.h"
|
||||
#include "util/u_format.h"
|
||||
|
|
|
@ -36,11 +36,8 @@
|
|||
|
||||
#include "main/mtypes.h"
|
||||
#include "program/program.h"
|
||||
#include "pipe/p_shader_tokens.h"
|
||||
|
||||
|
||||
struct cso_fragment_shader;
|
||||
struct cso_vertex_shader;
|
||||
#include "pipe/p_state.h"
|
||||
#include "st_context.h"
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue