diff options
author | Samuel Pitoiset <[email protected]> | 2019-07-17 14:19:10 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-07-17 15:43:36 +0200 |
commit | 24b1b1f5745d14865d1e1947a8882d5ed58470b4 (patch) | |
tree | bcc3488ed10165cc7ba804472ede9eca0d21c82a /src/amd/vulkan/radv_private.h | |
parent | d59c961af9eb48b61c0e078a71b3e8ca95a06778 (diff) |
radv: add an option for disabling NGG on GFX10
Will be useful for testing the legacy path.
Signed-off-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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 29809ea53be..931d4039397 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -1391,6 +1391,8 @@ struct radv_shader_module; #define RADV_HASH_SHADER_IS_GEOM_COPY_SHADER (1 << 0) #define RADV_HASH_SHADER_SISCHED (1 << 1) #define RADV_HASH_SHADER_UNSAFE_MATH (1 << 2) +#define RADV_HASH_SHADER_NO_NGG (1 << 3) + void radv_hash_shaders(unsigned char *hash, const VkPipelineShaderStageCreateInfo **stages, |