intel: Remove GEN_IS_HASWELL macro

Graphics / Mesa 3D Graphics Library / Mesa - Anuj Phogat [gmail.com] - 16 March 2021 16:40 UTC

Use GEN_VERSIONx10 == 75 check in place of GEN_IS_HASWELL macro. GEN_GEN and GEN_VERSIONx10 macros provide a consistent way to do platform
version checks. We can avoid platform specific macros.

97d6ceaf04d intel: Remove GEN_IS_HASWELL macro
src/intel/blorp/blorp_genX_exec.h | 4 +--
src/intel/common/mi_builder.h | 42 +++++++++++++--------------
src/intel/common/tests/mi_builder_test.cpp | 10 +++----
src/intel/genxml/gen_macros.h | 5 ++--
src/intel/isl/isl_emit_depth_stencil.c | 2 +-
src/intel/isl/isl_surface_state.c | 8 ++---
src/intel/vulkan/gen7_cmd_buffer.c | 8 ++---
src/intel/vulkan/genX_cmd_buffer.c | 40 ++++++++++++-------------
src/intel/vulkan/genX_pipeline.c | 12 ++++----
src/intel/vulkan/genX_query.c | 2 +-
src/intel/vulkan/genX_state.c | 10 +++----
src/mesa/drivers/dri/i965/genX_pipe_control.c | 4 +--
src/mesa/drivers/dri/i965/genX_state_upload.c | 36 +++++++++++------------
13 files changed, 91 insertions(+), 92 deletions(-)

Upstream: cgit.freedesktop.org


  • Share