panfrost: Zero depth_source in vertex shaders
authorAlyssa Rosenzweig <alyssa@collabora.com>
Wed, 16 Jun 2021 15:29:28 +0000 (11:29 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 9 Jul 2021 23:15:28 +0000 (23:15 +0000)
Spurious assignment.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11733>

src/panfrost/lib/pan_shader.h

index 04a167c..751d21a 100644 (file)
@@ -202,9 +202,6 @@ pan_shader_prepare_rsd(const struct panfrost_device *dev,
                  * shading, but that'll just got ORed in */
                 rsd->multisample_misc.evaluate_per_sample =
                         shader_info->fs.sample_shading;
-        } else {
-                rsd->properties.depth_source =
-                        MALI_DEPTH_SOURCE_FIXED_FUNCTION;
         }
 
         if (pan_is_bifrost(dev))