diff options
author | Jason Ekstrand <[email protected]> | 2016-06-02 18:43:59 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-06-22 12:26:43 -0700 |
commit | de1d194856ddcfc946df2df0f076cb42ff1c165d (patch) | |
tree | 554a4cc6c71d00c72d238c1593d012421e8729fd /src/intel/isl/isl_surface_state.c | |
parent | 320de71858cc1ec73e2735923ac30ef45cbc1957 (diff) |
genxml/gen8,9: Prefix the multisample format enum with MSFMT
This is what gen7 does and it's nice to have a prefix
Reviewed-by: Chad Versace <[email protected]>
Cc: "12.0" <[email protected]>
Diffstat (limited to 'src/intel/isl/isl_surface_state.c')
-rw-r--r-- | src/intel/isl/isl_surface_state.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/intel/isl/isl_surface_state.c b/src/intel/isl/isl_surface_state.c index e96d3b05c3c..51c5953af25 100644 --- a/src/intel/isl/isl_surface_state.c +++ b/src/intel/isl/isl_surface_state.c @@ -76,19 +76,11 @@ static const uint8_t isl_to_gen_tiling[] = { }; #endif -#if GEN_GEN >= 8 -static const uint32_t isl_to_gen_multisample_layout[] = { - [ISL_MSAA_LAYOUT_NONE] = MSS, - [ISL_MSAA_LAYOUT_INTERLEAVED] = DEPTH_STENCIL, - [ISL_MSAA_LAYOUT_ARRAY] = MSS, -}; -#else static const uint32_t isl_to_gen_multisample_layout[] = { [ISL_MSAA_LAYOUT_NONE] = MSFMT_MSS, [ISL_MSAA_LAYOUT_INTERLEAVED] = MSFMT_DEPTH_STENCIL, [ISL_MSAA_LAYOUT_ARRAY] = MSFMT_MSS, }; -#endif static uint8_t get_surftype(enum isl_surf_dim dim, isl_surf_usage_flags_t usage) |