D3D12: Implement GPU-based bounding box

This commit is contained in:
Stenzek 2016-03-05 21:15:48 +10:00
parent 32599559db
commit ac1cd8279b
8 changed files with 164 additions and 30 deletions

View file

@ -116,7 +116,7 @@ void InitBackendInfo()
g_Config.backend_info.bSupportsEarlyZ = shader_model_5_supported;
// Requires full UAV functionality (only available in shader model 5)
g_Config.backend_info.bSupportsBBox = false;
g_Config.backend_info.bSupportsBBox = shader_model_5_supported;
// Requires the instance attribute (only available in shader model 5)
g_Config.backend_info.bSupportsGSInstancing = shader_model_5_supported;