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:
committed by
Marge Bot
parent
b8d50542c0
commit
1ba4bc2ada
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user