Skip to content

Commit

Permalink
[dxbc] Do not enable SPV_KHR_shader_float_controls
Browse files Browse the repository at this point in the history
This is core in Vulkan 1.2 and SPIR-V 1.5.
  • Loading branch information
doitsujin committed Sep 18, 2022
1 parent 9fa587e commit 2a7706b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/dxbc/dxbc_compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7427,8 +7427,6 @@ namespace dxvk {
const uint32_t width32 = 32;
const uint32_t width64 = 64;

m_module.enableExtension("SPV_KHR_float_controls");

if (flags.test(DxbcFloatControlFlag::DenormFlushToZero32)) {
m_module.enableCapability(spv::CapabilityDenormFlushToZero);
m_module.setExecutionMode(m_entryPointId, spv::ExecutionModeDenormFlushToZero, 1, &width32);
Expand Down

0 comments on commit 2a7706b

Please sign in to comment.