agx: stash early_fragment_test info
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29179>
This commit is contained in:
committed by
Marge Bot
parent
1c8aab388c
commit
1be0e8e348
@@ -3431,6 +3431,7 @@ agx_compile_shader_nir(nir_shader *nir, struct agx_shader_key *key,
|
||||
info->depth_layout = layout;
|
||||
|
||||
info->reads_tib = nir->info.fs.uses_fbfetch_output;
|
||||
info->early_fragment_tests = nir->info.fs.early_fragment_tests;
|
||||
}
|
||||
|
||||
out->binary = binary.data;
|
||||
|
||||
@@ -85,6 +85,9 @@ struct agx_shader_info {
|
||||
/* Does the shader read the tilebuffer? */
|
||||
bool reads_tib;
|
||||
|
||||
/* Does the shader require early fragment tests? */
|
||||
bool early_fragment_tests;
|
||||
|
||||
/* Does the shader potentially draw to a nonzero viewport? */
|
||||
bool nonzero_viewport;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user