diff options
author | Tom Stellard <[email protected]> | 2014-09-25 18:10:44 -0700 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2014-10-31 15:24:00 -0400 |
commit | fa07f4b68a20e54e1766876203b11a8b90ff120f (patch) | |
tree | 3143eb857d056ebbbf0586abb5dbec2db1581681 /src/gallium/drivers/r600/evergreen_compute_internal.h | |
parent | e91735a641b71bc2bccabd0c779a626fa412b314 (diff) |
r600g/compute: Enable PIPE_SHADER_IR_NATIVE for compute shaders v2
v2:
- Drop dependency on LLVM >= 3.5.1
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_compute_internal.h')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_compute_internal.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_compute_internal.h b/src/gallium/drivers/r600/evergreen_compute_internal.h index 0929d8dcf27..95593dd8e13 100644 --- a/src/gallium/drivers/r600/evergreen_compute_internal.h +++ b/src/gallium/drivers/r600/evergreen_compute_internal.h @@ -27,6 +27,8 @@ #include "r600_asm.h" +#if HAVE_LLVM < 0x0306 + struct r600_kernel { unsigned count; #ifdef HAVE_OPENCL @@ -36,13 +38,21 @@ struct r600_kernel { struct r600_bytecode bc; }; +#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 radeon_shader_binary binary; + struct r600_resource *code_bo; + struct r600_bytecode bc; + unsigned local_size; unsigned private_size; unsigned input_size; |