aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_device.c
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2020-02-03 14:25:41 +0100
committerJonathan Marek <[email protected]>2020-02-12 21:36:36 -0500
commit6a0c4008bf78e259bb1cb9bcbe39248762b03cc8 (patch)
tree97b6e61ab0485e6e1fbac1e7ff0240b32dcafc6b /src/freedreno/vulkan/tu_device.c
parent041783d49d3aaf451420ce880dcd886388f4b274 (diff)
tu: Sysmem rendering
This has only lightly been tested. It passes dEQP-VK.api.smoke.triangle, so at least we're able to show a triangle. For now, it's just enabled under a debug flag. In the future we'll probably want some heuristics like what freedreno has and another debug flag to disable it except when it's forced. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3713>
Diffstat (limited to 'src/freedreno/vulkan/tu_device.c')
-rw-r--r--src/freedreno/vulkan/tu_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
index 1f9b591ab3b..6883bcb96bd 100644
--- a/src/freedreno/vulkan/tu_device.c
+++ b/src/freedreno/vulkan/tu_device.c
@@ -367,6 +367,7 @@ static const struct debug_control tu_debug_options[] = {
{ "nir", TU_DEBUG_NIR },
{ "ir3", TU_DEBUG_IR3 },
{ "nobin", TU_DEBUG_NOBIN },
+ { "sysmem", TU_DEBUG_SYSMEM },
{ NULL, 0 }
};