diff options
author | Tom Stellard <[email protected]> | 2014-05-09 04:24:42 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2014-05-09 12:16:05 -0400 |
commit | 93c2ebbd83604263fa46351a7efcde382322024b (patch) | |
tree | 221ae9107b58dd07033b035934fc97d58aed90b9 /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | c5d000832579c17fdeff7ec8aaf7430d9b2e1049 (diff) |
radeonsi: Enable geometry shaders with LLVM 3.4.1
Reviewed-by: Michel Dänzer <[email protected]>
CC: "10.1 10.2" <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index 1601a4b58cb..de424778a8d 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -39,6 +39,10 @@ #define SI_MAX_DRAW_CS_DWORDS 18 +#define LLVM_SUPPORTS_GEOM_SHADERS \ + ((HAVE_LLVM >= 0x0305) || \ + (HAVE_LLVM == 0x0304 && LLVM_VERSION_PATCH >= 1)) + struct si_pipe_compute; struct si_screen { |