mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 07:50:20 +01:00
intel: Set render domain on read and write
This commit is contained in:
parent
178f991208
commit
3b1b9f3cc7
1 changed files with 2 additions and 1 deletions
|
|
@ -26,10 +26,11 @@ intel_be_batch_reloc(struct i915_winsys *sws,
|
|||
|
||||
if (access_flags & I915_BUFFER_ACCESS_WRITE) {
|
||||
write = I915_GEM_DOMAIN_RENDER;
|
||||
read = I915_GEM_DOMAIN_RENDER;
|
||||
}
|
||||
|
||||
if (access_flags & I915_BUFFER_ACCESS_READ) {
|
||||
read = I915_GEM_DOMAIN_VERTEX;
|
||||
read |= I915_GEM_DOMAIN_VERTEX;
|
||||
}
|
||||
|
||||
debug_printf("%s\n", __FUNCTION__);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue