intel/fs: Use shader_info::fs::uses_sample_shading
NIR constructs this information for us as part of nir_gather_info these days so we can simplify our logic a bit. This will also let us be more correct once we move uses_sample_shading scraping earlier. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14020>
This commit is contained in:
parent
4f3bf712cf
commit
ca9f0f72db
|
@ -7288,9 +7288,7 @@ brw_nir_populate_wm_prog_data(const nir_shader *shader,
|
||||||
prog_data->persample_dispatch =
|
prog_data->persample_dispatch =
|
||||||
key->multisample_fbo &&
|
key->multisample_fbo &&
|
||||||
(key->persample_interp ||
|
(key->persample_interp ||
|
||||||
BITSET_TEST(shader->info.system_values_read, SYSTEM_VALUE_SAMPLE_ID) ||
|
shader->info.fs.uses_sample_shading ||
|
||||||
BITSET_TEST(shader->info.system_values_read, SYSTEM_VALUE_SAMPLE_POS) ||
|
|
||||||
shader->info.fs.uses_sample_qualifier ||
|
|
||||||
shader->info.outputs_read);
|
shader->info.outputs_read);
|
||||||
|
|
||||||
if (devinfo->ver >= 6) {
|
if (devinfo->ver >= 6) {
|
||||||
|
|
Loading…
Reference in New Issue