mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 12:52:55 +00:00
lib/rendercopy*: Use igt_assert
This commit is contained in:
@@ -102,7 +102,7 @@ gen6_render_flush(struct intel_batchbuffer *batch,
|
||||
if (ret == 0)
|
||||
ret = drm_intel_gem_bo_context_exec(batch->bo, context,
|
||||
batch_end, 0);
|
||||
assert(ret == 0);
|
||||
igt_assert(ret == 0);
|
||||
}
|
||||
|
||||
static uint32_t
|
||||
@@ -132,7 +132,7 @@ gen6_bind_buf(struct intel_batchbuffer *batch, struct igt_buf *buf,
|
||||
batch_offset(batch, ss) + 4,
|
||||
buf->bo, 0,
|
||||
read_domain, write_domain);
|
||||
assert(ret == 0);
|
||||
igt_assert(ret == 0);
|
||||
|
||||
ss->ss2.height = igt_buf_height(buf) - 1;
|
||||
ss->ss2.width = igt_buf_width(buf) - 1;
|
||||
|
||||
Reference in New Issue
Block a user