mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
dirconf: add a common vk_zero_vram
This adds a vk_zero_vram dri conf. Vulkan drivers needs this to run several games. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29892>
This commit is contained in:
parent
47e74ba175
commit
20fae61d10
1 changed files with 4 additions and 0 deletions
|
|
@ -496,6 +496,10 @@
|
|||
DRI_CONF_OPT_B(no_fp16, def, \
|
||||
"Disable 16-bit float support")
|
||||
|
||||
#define DRI_CONF_VK_ZERO_VRAM(def) \
|
||||
DRI_CONF_OPT_B(vk_zero_vram, def, \
|
||||
"Initialize to zero all VRAM allocations")
|
||||
|
||||
/**
|
||||
* \brief Initialization configuration options
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue