mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 21:10:12 +01:00
i965: Set the GEM domain flags for the scratch space.
They go into the render cache, so while we don't care about their contents after execution, failing to note them could cause the writes to be flushed over important buffer contents later.
This commit is contained in:
parent
a3bfb2f755
commit
ff81a1dd92
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ wm_unit_create_from_key(struct brw_context *brw, struct brw_wm_unit_key *key,
|
|||
drm_intel_bo_emit_reloc(bo, offsetof(struct brw_wm_unit_state, thread2),
|
||||
brw->wm.scratch_bo,
|
||||
wm.thread2.per_thread_scratch_space,
|
||||
0, 0);
|
||||
I915_GEM_DOMAIN_RENDER, I915_GEM_DOMAIN_RENDER);
|
||||
}
|
||||
|
||||
/* Emit sampler state relocation */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue