[GPU] Fix host_depth_store_2xmsaa CS after 2x MSAA sample swap

This commit is contained in:
Triang3l
2021-06-14 19:12:12 +03:00
parent e48a678ac7
commit 8e83042bdf
5 changed files with 37 additions and 26 deletions

View File

@@ -30,8 +30,8 @@ uint XeHostDepthStoreResolutionScale() {
return (xe_host_depth_store_render_target >> 10u) & 0x3u;
}
uint XeHostDepthStoreSecondSampleIndex() {
return (xe_host_depth_store_render_target >> 12u) & 0x3u;
bool XeHostDepthStoreMsaa2xSupported() {
return bool((xe_host_depth_store_render_target >> 12u) & 0x1u);
}
// 40-sample columns are not swapped for addressing simplicity (because this is