blorp: Disallow multisampling for BLORP compute blits and copies.

We don't support typed image writes for multisampling, so we can't
handle multisampled destinations.  We also usually handle MSAA by
running the fragment shader per-sample, which we aren't accounting
for in our compute shaders, so we can't handle MSAA sources either.

We could do both of these things if we really wanted to, but we don't.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13524>
This commit is contained in:
Kenneth Graunke
2021-10-04 16:17:18 -07:00
committed by Marge Bot
parent f0744ebef2
commit 574c5d1540
2 changed files with 25 additions and 5 deletions

View File

@@ -186,10 +186,14 @@ blorp_clear_supports_compute(struct blorp_context *blorp,
bool
blorp_copy_supports_compute(struct blorp_context *blorp,
const struct isl_surf *src_surf,
const struct isl_surf *dst_surf,
enum isl_aux_usage dst_aux_usage);
bool
blorp_blit_supports_compute(struct blorp_context *blorp,
const struct isl_surf *src_surf,
const struct isl_surf *dst_surf,
enum isl_aux_usage dst_aux_usage);
void