r600/sb: handle lds special dest registers.
[mesa.git] / src / gallium / drivers / r600 / evergreen_compute_internal.h
index 95593dd8e1346f6424d71d565d7ab2dac5eeace6..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"
-
-#if HAVE_LLVM < 0x0306
-
-struct r600_kernel {
-       unsigned count;
 #ifdef HAVE_OPENCL
-       LLVMModuleRef llvm_module;
-#endif
-       struct r600_resource *code_bo;
-       struct r600_bytecode bc;
-};
-
+#include <llvm-c/Core.h>
 #endif
 
 struct r600_pipe_compute {
        struct r600_context *ctx;
 
-#if HAVE_LLVM < 0x0306
-       unsigned num_kernels;
-       struct r600_kernel *kernels;
-       struct r600_kernel *active_kernel;
-#endif
+       struct ac_shader_binary binary;
+
+       enum pipe_shader_ir ir_type;
+
+       /* tgsi selector */
+       struct r600_pipe_shader_selector *sel;
 
-       struct radeon_shader_binary binary;
        struct r600_resource *code_bo;
        struct r600_bytecode bc;