aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/vulkan/tu_private.h
diff options
context:
space:
mode:
authorBrian Ho <[email protected]>2020-06-09 14:48:49 -0400
committerMarge Bot <[email protected]>2020-06-22 14:35:46 +0000
commit7a836ec6319630a3b5dfbb7101b839c4804a092c (patch)
tree1b6b54bdbf2a9a4d0ddb8ca4f01b9e95ddde70c6 /src/freedreno/vulkan/tu_private.h
parent2718353b381790be3dca8a385d23034ea96f8565 (diff)
turnip: Force sysmem for tessellation
Tessellation is incompatible with HW binning (dEQP tests fail when we set forcebin), so force sysmem when we finish recording a command buffer that uses a tess pipeline. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5059>
Diffstat (limited to 'src/freedreno/vulkan/tu_private.h')
-rw-r--r--src/freedreno/vulkan/tu_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/freedreno/vulkan/tu_private.h b/src/freedreno/vulkan/tu_private.h
index df843ee2789..532ab64362c 100644
--- a/src/freedreno/vulkan/tu_private.h
+++ b/src/freedreno/vulkan/tu_private.h
@@ -967,6 +967,8 @@ struct tu_cmd_buffer
struct tu_bo scratch_bo;
+ bool has_tess;
+
struct tu_bo vsc_draw_strm;
struct tu_bo vsc_prim_strm;
uint32_t vsc_draw_strm_pitch;