Added BGFX_CAPS_SHADER_F16. (#4023)

This commit is contained in:
Branimir Karadžić
2026-10-03 23:27:25 -07:00
committed by GitHub
parent fe914721b2
commit aa10f3accb
21 changed files with 207 additions and 93 deletions
+3
View File
@@ -1222,6 +1222,8 @@ WGPU_IMPORT
ifSupported(WGPUFeatureName_RG11B10UfloatRenderable),
ifSupported(WGPUFeatureName_Depth32FloatStencil8),
ifSupported(WGPUFeatureName_ShaderF16),
};
bx::quickSort(requiredFeatures, BX_COUNTOF(requiredFeatures) );
@@ -1465,6 +1467,7 @@ WGPU_IMPORT
| BGFX_CAPS_RENDERER_MULTITHREADED
| BGFX_CAPS_SWAP_CHAIN
| BGFX_CAPS_TEXTURE_CUBE_ARRAY
| (isFeatureSupported(WGPUFeatureName_ShaderF16) ? BGFX_CAPS_SHADER_F16 : 0)
;
TextureFormatCaps textureFormatCaps;