diff options
author | Kenneth Graunke <[email protected]> | 2018-12-02 23:30:09 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:10 -0800 |
commit | 2e79e46d231d5b8852bdf519d2bc3138d8e8b08d (patch) | |
tree | 74e209b71424e44f200c1e48e2c3cb458f00fb47 /src | |
parent | 5fde1fa988b4b118ea19d94ae1b9162589a7ae70 (diff) |
iris: Drop continues in resolve
Now that we u_bit_scan we know it exists
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_resolve.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/iris/iris_resolve.c b/src/gallium/drivers/iris/iris_resolve.c index 7a884f813f9..240f6f8c879 100644 --- a/src/gallium/drivers/iris/iris_resolve.c +++ b/src/gallium/drivers/iris/iris_resolve.c @@ -44,9 +44,6 @@ resolve_sampler_views(struct iris_batch *batch, while (views) { const int i = u_bit_scan(&views); struct iris_sampler_view *isv = shs->textures[i]; - if (!isv) - continue; - struct iris_resource *res = (void *) isv->base.texture; // XXX: aux tracking @@ -63,8 +60,6 @@ resolve_image_views(struct iris_batch *batch, while (views) { const int i = u_bit_scan(&views); struct pipe_resource *res = shs->image[i].res; - if (!res) - continue; // XXX: aux tracking iris_cache_flush_for_read(batch, iris_resource_bo(res)); |