"more reasonably implemented" vulkan ready for next AMD gpu hardware
[nyanlinux.git] / builders / mesa-vulkan-amd-sh-ab1479ae6a845d2c7beeb0fed6e2153cc2b16c5e / contrib / radv_physical_device.c.patch
blob4f30a47985ae1491b3bb08dcb88cfa7046a32312
1 --- a/src/amd/vulkan/radv_physical_device.c
2 +++ b/src/amd/vulkan/radv_physical_device.c
3 @@ -111,13 +111,7 @@ radv_filter_minmax_enabled(const struct radv_physical_device *pdev)
4 bool
5 radv_enable_rt(const struct radv_physical_device *pdev, bool rt_pipelines)
7 - if (pdev->info.gfx_level < GFX10_3 && !radv_emulate_rt(pdev))
8 - return false;
10 - if (rt_pipelines && pdev->use_llvm)
11 - return false;
13 - return true;
14 + return false; // until reasonable or full hardware implementation
17 bool
18 @@ -791,7 +785,7 @@ radv_physical_device_get_features(const struct radv_physical_device *pdev, struc
19 .multiViewport = true,
20 .samplerAnisotropy = true,
21 .textureCompressionETC2 = pdev->info.has_etc_support || pdev->emulate_etc2,
22 - .textureCompressionASTC_LDR = pdev->emulate_astc,
23 + .textureCompressionASTC_LDR = false, // until really obsolete, or reasonable implementation
24 .textureCompressionBC = true,
25 .occlusionQueryPrecise = true,
26 .pipelineStatisticsQuery = true,