projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e56f03
)
radv: do not use IB for the GFX preamble with RADV_DEBUG=noibs
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 15 Jun 2023 08:46:16 +0000
(10:46 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Mon, 19 Jun 2023 06:48:21 +0000
(06:48 +0000)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23670>
src/amd/vulkan/radv_device.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_device.c
b/src/amd/vulkan/radv_device.c
index
05b9cb0
..
0f19178
100644
(file)
--- a/
src/amd/vulkan/radv_device.c
+++ b/
src/amd/vulkan/radv_device.c
@@
-1000,7
+1000,8
@@
radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr
goto fail;
}
- if (device->physical_device->rad_info.gfx_level >= GFX7)
+ if (device->physical_device->rad_info.gfx_level >= GFX7 &&
+ !(device->instance->debug_flags & RADV_DEBUG_NO_IBS))
cik_create_gfx_config(device);
struct vk_pipeline_cache_create_info info = {0};