intel: Delete the has_illegal_ccs_values bool
This was only used in one location. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36383>
This commit is contained in:
@@ -552,7 +552,6 @@ static const struct intel_device_info intel_device_info_chv = {
|
||||
CMAT_PRE_XEHP_CONFIGURATIONS, \
|
||||
.ver = 9, \
|
||||
.has_sample_with_hiz = true, \
|
||||
.has_illegal_ccs_values = true, \
|
||||
.timestamp_frequency = 12000000
|
||||
|
||||
#define GFX9_MAX_THREADS \
|
||||
@@ -595,7 +594,6 @@ static const struct intel_device_info intel_device_info_chv = {
|
||||
.has_integer_dword_mul = false, \
|
||||
.has_llc = false, \
|
||||
.has_sample_with_hiz = true, \
|
||||
.has_illegal_ccs_values = true, \
|
||||
.num_slices = 1, \
|
||||
.num_thread_per_eu = 6, \
|
||||
.max_eus_per_subslice = 6, \
|
||||
@@ -917,7 +915,6 @@ static const struct intel_device_info intel_device_info_ehl_2x4 = {
|
||||
#define GFX12_FEATURES \
|
||||
GFX11_FEATURES, \
|
||||
.ver = 12, \
|
||||
.has_illegal_ccs_values = false, \
|
||||
.has_aux_map = true
|
||||
|
||||
#define GFX12_MAX_THREADS \
|
||||
|
||||
@@ -288,9 +288,6 @@ Struct("intel_device_info",
|
||||
Member("bool", "supports_simd16_3src", compiler_field=True),
|
||||
Member("bool", "disable_ccs_repack"),
|
||||
|
||||
Member("bool", "has_illegal_ccs_values",
|
||||
comment="True if CCS needs to be initialized before use."),
|
||||
|
||||
Member("bool", "has_flat_ccs",
|
||||
comment=dedent("""\
|
||||
True if CCS uses a flat virtual address translation to a memory
|
||||
|
||||
@@ -173,7 +173,6 @@ isl_aux_get_initial_state(const struct intel_device_info *devinfo,
|
||||
*/
|
||||
return ISL_AUX_STATE_PASS_THROUGH;
|
||||
} else if (devinfo->ver >= 12) {
|
||||
assert(!devinfo->has_illegal_ccs_values);
|
||||
/* From Bspec 47709, "MCS/CCS Buffers for Render Target(s)":
|
||||
*
|
||||
* "CCS surface does not require initialization. Illegal CCS
|
||||
|
||||
Reference in New Issue
Block a user