diff options
author | Daniel Schürmann <[email protected]> | 2019-07-29 17:51:01 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-07-30 10:29:11 +0200 |
commit | 45638e14fb9d4ca66de12fbbf2aba35c3665341e (patch) | |
tree | 8c72699fe76b73cc6eaf883130fbb849de3cd866 /src/amd/vulkan/radv_private.h | |
parent | f27908152b504444d6195b91825a74b11e896780 (diff) |
radv: Don't include radv_private.h from radv_shader.h
This patch decouples radv_shader.h from any LLVM dependency.
Reviewed-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 466f0288399..0700dbcfa49 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -60,6 +60,7 @@ #include "ac_surface.h" #include "ac_llvm_build.h" #include "ac_llvm_util.h" +#include "radv_constants.h" #include "radv_descriptor_set.h" #include "radv_extensions.h" #include "sid.h" @@ -94,40 +95,6 @@ struct gfx10_format { #include "gfx10_format_table.h" -#define ATI_VENDOR_ID 0x1002 - -#define MAX_VBS 32 -#define MAX_VERTEX_ATTRIBS 32 -#define MAX_RTS 8 -#define MAX_VIEWPORTS 16 -#define MAX_SCISSORS 16 -#define MAX_DISCARD_RECTANGLES 4 -#define MAX_SAMPLE_LOCATIONS 32 -#define MAX_PUSH_CONSTANTS_SIZE 128 -#define MAX_PUSH_DESCRIPTORS 32 -#define MAX_DYNAMIC_UNIFORM_BUFFERS 16 -#define MAX_DYNAMIC_STORAGE_BUFFERS 8 -#define MAX_DYNAMIC_BUFFERS (MAX_DYNAMIC_UNIFORM_BUFFERS + MAX_DYNAMIC_STORAGE_BUFFERS) -#define MAX_SAMPLES_LOG2 4 -#define NUM_META_FS_KEYS 12 -#define RADV_MAX_DRM_DEVICES 8 -#define MAX_VIEWS 8 -#define MAX_SO_STREAMS 4 -#define MAX_SO_BUFFERS 4 -#define MAX_SO_OUTPUTS 64 -#define MAX_INLINE_UNIFORM_BLOCK_SIZE (4ull * 1024 * 1024) -#define MAX_INLINE_UNIFORM_BLOCK_COUNT 64 - -#define NUM_DEPTH_CLEAR_PIPELINES 3 - -/* - * This is the point we switch from using CP to compute shader - * for certain buffer operations. - */ -#define RADV_BUFFER_OPS_CS_THRESHOLD 4096 - -#define RADV_BUFFER_UPDATE_THRESHOLD 1024 - enum radv_mem_heap { RADV_MEM_HEAP_VRAM, RADV_MEM_HEAP_VRAM_CPU_ACCESS, |