intel: Use GEN_VERSIONx10 in more places

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9329>
This commit is contained in:
Jordan Justen
2021-02-27 14:03:47 -08:00
parent adc575dbf6
commit 36dd7c44f6
6 changed files with 17 additions and 18 deletions

View File

@@ -2347,7 +2347,7 @@ genX(graphics_pipeline_create)(
return pipeline->base.batch.status;
}
#if GEN_GEN > 12 || GEN_IS_GEN12HP
#if GEN_VERSIONx10 >= 125
static void
emit_compute_state(struct anv_compute_pipeline *pipeline,
@@ -2372,7 +2372,7 @@ emit_compute_state(struct anv_compute_pipeline *pipeline,
}
}
#else /* #if GEN_GEN > 12 || GEN_IS_GEN12HP */
#else /* #if GEN_VERSIONx10 >= 125 */
static void
emit_compute_state(struct anv_compute_pipeline *pipeline,
@@ -2481,7 +2481,7 @@ emit_compute_state(struct anv_compute_pipeline *pipeline,
&desc);
}
#endif /* #if GEN_GEN > 12 || GEN_IS_GEN12HP */
#endif /* #if GEN_VERSIONx10 >= 125 */
static VkResult
compute_pipeline_create(