mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02: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 (info->stage == MESA_SHADER_FRAGMENT) {
|
||||||
if (shader->info.fs.reads_sample_mask ||
|
if (shader->info.fs.uses_sample_shading) {
|
||||||
shader->info.fs.uses_sample_shading) {
|
|
||||||
shader->min_sample_shading = 1;
|
shader->min_sample_shading = 1;
|
||||||
} else if (state != NULL && state->ms != NULL &&
|
} else if (state != NULL && state->ms != NULL &&
|
||||||
state->ms->sample_shading_enable) {
|
state->ms->sample_shading_enable) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue