Skip to content

Commit 49d1e04

Browse files
Revert "Disable render compressed buffers on xehp"
This reverts commit 60787ef. Signed-off-by: Compute-Runtime-Validation <[email protected]>
1 parent abb1f30 commit 49d1e04

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

opencl/test/unit_test/xe_hp_core/xehp/test_hw_info_config_xehp.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ XEHPTEST_F(XeHPHwInfoConfig, givenXeHPMultiConfigWhenConfigureHardwareCustomIsCa
4545

4646
hwInfo.gtSystemInfo.EUCount = 512u;
4747
hwInfoConfig->configureHardwareCustom(&hwInfo, nullptr);
48-
EXPECT_FALSE(hwInfo.capabilityTable.ftrRenderCompressedBuffers);
48+
EXPECT_TRUE(hwInfo.capabilityTable.ftrRenderCompressedBuffers);
4949
EXPECT_TRUE(hwInfo.capabilityTable.ftrRenderCompressedImages);
5050
}
5151

shared/source/os_interface/hw_info_config_xehp_and_later.inl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ uint64_t HwInfoConfigHw<gfxProduct>::getCrossDeviceSharedMemCapabilities() {
2121
template <PRODUCT_FAMILY gfxProduct>
2222
void HwInfoConfigHw<gfxProduct>::enableRenderCompression(HardwareInfo *hwInfo) {
2323
hwInfo->capabilityTable.ftrRenderCompressedImages = hwInfo->featureTable.ftrE2ECompression;
24-
hwInfo->capabilityTable.ftrRenderCompressedBuffers = false;
24+
hwInfo->capabilityTable.ftrRenderCompressedBuffers = hwInfo->featureTable.ftrE2ECompression;
2525
}
2626

2727
template <PRODUCT_FAMILY gfxProduct>

0 commit comments

Comments
 (0)