diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-01-28 00:28:05 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-01-29 15:56:41 +0100 |
commit | ead54d4a427bdd36e073a9302c2b363585c8ec29 (patch) | |
tree | c9eb90d6583c1bf6193dfd982d261a105d87a571 /src/amd/vulkan/radv_shader.c | |
parent | 3a8d6c0880891cf9ccbae8160932bb4cbd2c2ead (diff) |
radv/winsys: Set winsys bo priority on creation.
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.c')
-rw-r--r-- | src/amd/vulkan/radv_shader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 42f5e4efe6c..32cd9ae25e9 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -395,7 +395,8 @@ radv_alloc_shader_memory(struct radv_device *device, RADEON_DOMAIN_VRAM, RADEON_FLAG_NO_INTERPROCESS_SHARING | (device->physical_device->cpdma_prefetch_writes_memory ? - 0 : RADEON_FLAG_READ_ONLY)); + 0 : RADEON_FLAG_READ_ONLY), + RADV_BO_PRIORITY_SHADER); slab->ptr = (char*)device->ws->buffer_map(slab->bo); list_inithead(&slab->shaders); |