diff options
author | Tapani Pälli <tapani.palli@intel.com> | 2023-01-12 14:17:12 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-01-20 12:50:04 +0000 |
commit | 247c06d41997538e877619326d046f84887a48ab (patch) | |
tree | 46941a57d4ef6912ce03c25be8d056a169d2bff6 /src/gallium/drivers/iris/iris_context.h | |
parent | 58dd9d5134e280302cc5270d7cc5ecdbc49791de (diff) | |
download | mesa-247c06d41997538e877619326d046f84887a48ab.tar.gz |
iris: add restrictions for 3DSTATE_RASTER::AntiAliasingEnable
Field must be disabled if any render targets have integer
format, additionally for Gfx12+ field must be disabled when
num multisamples > 1 or forced multisample count > 1.
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7892
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20671>
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r-- | src/gallium/drivers/iris/iris_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h index af447fb98fc..4947c8a0e81 100644 --- a/src/gallium/drivers/iris/iris_context.h +++ b/src/gallium/drivers/iris/iris_context.h @@ -796,6 +796,9 @@ struct iris_context { /** Are stencil writes enabled? (Stencil buffer may or may not exist.) */ bool stencil_writes_enabled; + /** Do we have integer RT in current framebuffer state? */ + bool has_integer_rt; + /** GenX-specific current state */ struct iris_genx_state *genx; |