File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -401,6 +401,8 @@ std::unique_ptr<CVulkanPhysicalDevice> CVulkanPhysicalDevice::create(core::smart
401401 // vulkan12Properties.denormBehaviorIndependence;
402402 // vulkan12Properties.denormBehaviorIndependence;
403403
404+ if (!vulkan12Properties.shaderSignedZeroInfNanPreserveFloat16 )
405+ return nullptr ;
404406 if (!vulkan12Properties.shaderSignedZeroInfNanPreserveFloat32 )
405407 return nullptr ;
406408 properties.limits .shaderSignedZeroInfNanPreserveFloat64 = vulkan12Properties.shaderSignedZeroInfNanPreserveFloat64 ;
Original file line number Diff line number Diff line change 903903 {
904904 "type" : " bool" ,
905905 "name" : " shaderSignedZeroInfNanPreserveFloat16" ,
906- "value" : false ,
907- "expose" : " DISABLE "
906+ "value" : true ,
907+ "expose" : " REQUIRE "
908908 },
909909 {
910910 "type" : " bool" ,
911911 "name" : " shaderSignedZeroInfNanPreserveFloat32" ,
912912 "value" : true ,
913- "expose" : " DISABLE "
913+ "expose" : " REQUIRE "
914914 },
915915 {
916916 "type" : " bool" ,
You can’t perform that action at this time.
0 commit comments