diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2019-12-25 23:43:01 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2020-01-04 12:25:55 -0800 |
commit | c0c899cf7892bd2326e6d21a920c7be42de06731 (patch) | |
tree | 828645f61d7aeec69cb64c3c877138123ec0b7b6 /src/gallium/drivers/iris/iris_resource.h | |
parent | 7d75bf4f3fc6a048fed05de301590c3a2b73c268 (diff) | |
download | mesa-c0c899cf7892bd2326e6d21a920c7be42de06731.tar.gz |
iris: Allow HiZ for copy_region sources
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_resource.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.h b/src/gallium/drivers/iris/iris_resource.h index ab09279d02b..52f8396bd77 100644 --- a/src/gallium/drivers/iris/iris_resource.h +++ b/src/gallium/drivers/iris/iris_resource.h @@ -475,6 +475,10 @@ void iris_resource_check_level_layer(const struct iris_resource *res, bool iris_resource_level_has_hiz(const struct iris_resource *res, uint32_t level); + +bool iris_sample_with_depth_aux(const struct gen_device_info *devinfo, + const struct iris_resource *res); + bool iris_has_color_unresolved(const struct iris_resource *res, unsigned start_level, unsigned num_levels, unsigned start_layer, unsigned num_layers); |