panfrost: Respect info.fs.uses_sample_shading

Now that this is a link-time property.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8774>
This commit is contained in:
Alyssa Rosenzweig 2021-01-29 12:13:47 -05:00
parent 55f8df6d36
commit b6ad375bdf

View file

@ -351,7 +351,8 @@ panfrost_shader_compile(struct panfrost_context *ctx,
state->outputs_read = outputs_read >> FRAG_RESULT_DATA0;
/* EXT_shader_framebuffer_fetch requires per-sample */
state->sample_shading = outputs_read;
state->sample_shading = s->info.fs.uses_sample_shading ||
outputs_read;
/* List of reasons we need to execute frag shaders when things
* are masked off */