mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
radeonsi/nir: set TGSI_PROPERTY_FS_EARLY_DEPTH_STENCIL correctly
We set this for post_depth_coverage in addition to early_fragment_tests. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
60c14a0db2
commit
2f5d3df9fc
1 changed files with 2 additions and 1 deletions
|
|
@ -277,7 +277,8 @@ void si_nir_scan_shader(const struct nir_shader *nir,
|
|||
}
|
||||
|
||||
if (nir->info.stage == MESA_SHADER_FRAGMENT) {
|
||||
info->properties[TGSI_PROPERTY_FS_EARLY_DEPTH_STENCIL] = nir->info.fs.early_fragment_tests;
|
||||
info->properties[TGSI_PROPERTY_FS_EARLY_DEPTH_STENCIL] =
|
||||
nir->info.fs.early_fragment_tests | nir->info.fs.post_depth_coverage;
|
||||
info->properties[TGSI_PROPERTY_FS_POST_DEPTH_COVERAGE] = nir->info.fs.post_depth_coverage;
|
||||
|
||||
if (nir->info.fs.depth_layout != FRAG_DEPTH_LAYOUT_NONE) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue