agx: rm unused backend nr_samples

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
Alyssa Rosenzweig 2024-02-06 21:55:18 -04:00 committed by Marge Bot
parent 27ddcea2b3
commit 2dc1189a9c
3 changed files with 0 additions and 11 deletions

View file

@ -216,13 +216,6 @@ struct agx_fs_shader_key {
* tilebuffer loads (including blending).
*/
bool ignore_tib_dependencies;
/* In a monolithic fragment shader or in a fragment epilogue, the number of
* samples in the tilebuffer. In a non-monolithic fragment shader, leave
* zero. This is used for the correct lowering of sample_mask instructions,
* to ensure that all samples are written out. Can be set conservatively.
*/
unsigned nr_samples;
};
struct agx_shader_key {

View file

@ -114,7 +114,6 @@ agx_build_background_shader(struct agx_meta_cache *cache,
struct agx_shader_key compiler_key = {
.fs.ignore_tib_dependencies = true,
.fs.nr_samples = key->tib.nr_samples,
.reserved_preamble = key->reserved_preamble,
};

View file

@ -2031,9 +2031,6 @@ agx_compile_variant(struct agx_device *dev, struct pipe_context *pctx,
struct agx_shader_key base_key = {0};
if (nir->info.stage == MESA_SHADER_FRAGMENT)
base_key.fs.nr_samples = key_->fs.nr_samples;
if (nir->info.stage == MESA_SHADER_VERTEX) {
struct asahi_vs_shader_key *key = &key_->vs;