mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 10:58:08 +02:00
i965/miptree: Allocate MS texture BOs as BUSY
These buffer objects are never accessed with the CPU. Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
7784a9ceac
commit
3b4279f772
1 changed files with 2 additions and 2 deletions
|
|
@ -679,8 +679,8 @@ miptree_create(struct brw_context *brw,
|
|||
enum intel_miptree_create_flags flags)
|
||||
{
|
||||
const struct gen_device_info *devinfo = &brw->screen->devinfo;
|
||||
const uint32_t alloc_flags = (flags & MIPTREE_CREATE_BUSY) ?
|
||||
BO_ALLOC_BUSY : 0;
|
||||
const uint32_t alloc_flags =
|
||||
(flags & MIPTREE_CREATE_BUSY || num_samples > 1) ? BO_ALLOC_BUSY : 0;
|
||||
isl_tiling_flags_t tiling_flags = ISL_TILING_ANY_MASK;
|
||||
|
||||
/* TODO: This used to be because there wasn't BLORP to handle Y-tiling. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue