Implement point size emulation in the forward shader for D3D12.

This commit is contained in:
Skyth
2025-10-28 17:21:34 +03:00
parent f5918a9d35
commit ba556ebe03
18 changed files with 249 additions and 46 deletions

View File

@@ -6129,6 +6129,8 @@ bool RenderingDeviceDriverD3D12::has_feature(Features p_feature) {
return true;
case SUPPORTS_VULKAN_MEMORY_MODEL:
return false;
case SUPPORTS_POINT_SIZE:
return false;
default:
return false;
}

View File

@@ -2564,6 +2564,8 @@ bool RenderingDeviceDriverMetal::has_feature(Features p_feature) {
return device_properties->features.supports_native_image_atomics;
case SUPPORTS_VULKAN_MEMORY_MODEL:
return true;
case SUPPORTS_POINT_SIZE:
return true;
default:
return false;
}

View File

@@ -6282,6 +6282,8 @@ bool RenderingDeviceDriverVulkan::has_feature(Features p_feature) {
return vulkan_memory_model_support && vulkan_memory_model_device_scope_support;
case SUPPORTS_FRAMEBUFFER_DEPTH_RESOLVE:
return framebuffer_depth_resolve;
case SUPPORTS_POINT_SIZE:
return true;
default:
return false;
}