mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-15 05:38:11 +02:00
anv: Use device->info.has_mesh_shading in key->mesh_input check
This is clearer than devinfo->verx10 >= 125. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41535>
This commit is contained in:
parent
fe99b5a7d1
commit
cee8d758ba
1 changed files with 1 additions and 1 deletions
|
|
@ -566,7 +566,7 @@ populate_fs_prog_key(struct brw_fs_prog_key *key,
|
|||
key->mesh_input =
|
||||
(link_stages & VK_SHADER_STAGE_VERTEX_BIT) ? INTEL_NEVER :
|
||||
(link_stages & VK_SHADER_STAGE_MESH_BIT_EXT) ? INTEL_ALWAYS :
|
||||
pdevice->info.verx10 >= 125 ? INTEL_SOMETIMES : INTEL_NEVER;
|
||||
pdevice->info.has_mesh_shading ? INTEL_SOMETIMES : INTEL_NEVER;
|
||||
|
||||
if (state && state->ms) {
|
||||
key->min_sample_shading = state->ms->min_sample_shading;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue