mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
nvk: Don't force sample shading when gl_SampleMaskIn[] is read
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29194>
This commit is contained in:
parent
b8d50542c0
commit
1ba4bc2ada
1 changed files with 1 additions and 2 deletions
|
|
@ -735,8 +735,7 @@ nvk_compile_shader(struct nvk_device *dev,
|
|||
}
|
||||
|
||||
if (info->stage == MESA_SHADER_FRAGMENT) {
|
||||
if (shader->info.fs.reads_sample_mask ||
|
||||
shader->info.fs.uses_sample_shading) {
|
||||
if (shader->info.fs.uses_sample_shading) {
|
||||
shader->min_sample_shading = 1;
|
||||
} else if (state != NULL && state->ms != NULL &&
|
||||
state->ms->sample_shading_enable) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue