mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
lib/rendercopy: fix alloc len for gen7_bind_buf
Fortunately saved by the alignment. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
This commit is contained in:
parent
d4933259b8
commit
b8afe98004
@ -110,7 +110,7 @@ gen7_bind_buf(struct intel_batchbuffer *batch,
|
||||
read_domain = I915_GEM_DOMAIN_SAMPLER;
|
||||
}
|
||||
|
||||
ss = batch_alloc(batch, sizeof(*ss), 32);
|
||||
ss = batch_alloc(batch, 8 * sizeof(*ss), 32);
|
||||
|
||||
ss[0] = (GEN7_SURFACE_2D << GEN7_SURFACE_TYPE_SHIFT |
|
||||
gen7_tiling_bits(buf->tiling) |
|
||||
|
Loading…
x
Reference in New Issue
Block a user