summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/gen8_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/gen8_state.c')
-rw-r--r--src/intel/vulkan/gen8_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/gen8_state.c b/src/intel/vulkan/gen8_state.c
index 2686bfa8f3c..6226eba43ec 100644
--- a/src/intel/vulkan/gen8_state.c
+++ b/src/intel/vulkan/gen8_state.c
@@ -37,6 +37,9 @@
VkResult
genX(init_device_state)(struct anv_device *device)
{
+ GENX(MEMORY_OBJECT_CONTROL_STATE_pack)(NULL, &device->default_mocs,
+ &GENX(MOCS));
+
struct anv_batch batch;
uint32_t cmds[64];