r600/sb: handle lds special dest registers.
[mesa.git] / src / gallium / drivers / r600 / evergreen_compute_internal.h
index c8998d00f5a4f1ff199577ff63d5889b55aef7ca..db3f24d3822d460678c6e04e3df888f826fa0b37 100644 (file)
  * Authors:
  *      Adam Rak <adam.rak@streamnovation.com>
  */
 #ifndef EVERGREEN_COMPUTE_INTERNAL_H
 #define EVERGREEN_COMPUTE_INTERNAL_H
 
+#include "ac_binary.h"
 #include "r600_asm.h"
+#ifdef HAVE_OPENCL
+#include <llvm-c/Core.h>
+#endif
 
 struct r600_pipe_compute {
        struct r600_context *ctx;
 
-       struct radeon_shader_binary binary;
+       struct ac_shader_binary binary;
+
+       enum pipe_shader_ir ir_type;
+
+       /* tgsi selector */
+       struct r600_pipe_shader_selector *sel;
+
        struct r600_resource *code_bo;
        struct r600_bytecode bc;