*/
#include "r600_pipe.h"
#include "r600_opcodes.h"
+#include "r600_shader.h"
#include "util/u_memory.h"
#include "eg_sq.h"
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include "r600_formats.h"
+#include "r600_shader.h"
#include "evergreend.h"
#include "pipe/p_shader_tokens.h"
#include "r600_sq.h"
#include "r600_opcodes.h"
#include "r600_formats.h"
+#include "r600_shader.h"
#include "r600d.h"
#include <errno.h>
#ifndef R600_ASM_H
#define R600_ASM_H
-#include "r600.h"
-
-struct r600_context;
+#include "r600_pipe.h"
struct r600_bytecode_alu_src {
unsigned sel;
#include "r600.h"
#include "r600_llvm.h"
#include "r600_public.h"
-#include "r600_shader.h"
#include "r600_resource.h"
#include "evergreen_compute.h"
#define R600_BIG_ENDIAN 0
#endif
+struct r600_shader_key;
+
/* This encapsulates a state or an operation which can emitted into the GPU
* command stream. It's not limited to states only, it can be used for anything
* that wants to write commands into the CS (e.g. cache flushes). */
unsigned nr_ps_max_color_exports;
};
-struct r600_shader_key {
- unsigned color_two_side:1;
- unsigned alpha_to_one:1;
- unsigned nr_cbufs:4;
-};
-
-struct r600_pipe_shader {
- struct r600_pipe_shader_selector *selector;
- struct r600_pipe_shader *next_variant;
- struct r600_shader shader;
- struct r600_pipe_state rstate;
- struct r600_resource *bo;
- unsigned sprite_coord_enable;
- unsigned flatshade;
- unsigned pa_cl_vs_out_cntl;
- unsigned nr_ps_color_outputs;
- struct r600_shader_key key;
- unsigned db_shader_control;
- unsigned ps_depth_export;
-};
-
struct r600_pipe_sampler_state {
uint32_t tex_sampler_words[3];
uint32_t border_color[4];
#include "r600_llvm.h"
#include "r600_formats.h"
#include "r600_opcodes.h"
+#include "r600_shader.h"
#include "r600d.h"
#include "pipe/p_shader_tokens.h"
boolean vs_out_point_size;
};
+struct r600_shader_key {
+ unsigned color_two_side:1;
+ unsigned alpha_to_one:1;
+ unsigned nr_cbufs:4;
+};
+
+struct r600_pipe_shader {
+ struct r600_pipe_shader_selector *selector;
+ struct r600_pipe_shader *next_variant;
+ struct r600_shader shader;
+ struct r600_pipe_state rstate;
+ struct r600_resource *bo;
+ unsigned sprite_coord_enable;
+ unsigned flatshade;
+ unsigned pa_cl_vs_out_cntl;
+ unsigned nr_ps_color_outputs;
+ struct r600_shader_key key;
+ unsigned db_shader_control;
+ unsigned ps_depth_export;
+};
+
#endif
* USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include "r600_formats.h"
+#include "r600_shader.h"
#include "r600d.h"
#include "pipe/p_shader_tokens.h"
* Jerome Glisse <jglisse@redhat.com>
*/
#include "r600_formats.h"
+#include "r600_shader.h"
#include "r600d.h"
#include "util/u_draw_quad.h"