aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/translate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ptx/src/translate.rs')
-rw-r--r--ptx/src/translate.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ptx/src/translate.rs b/ptx/src/translate.rs
index ee1a1d0..66fae15 100644
--- a/ptx/src/translate.rs
+++ b/ptx/src/translate.rs
@@ -1112,6 +1112,7 @@ fn emit_capabilities(builder: &mut dr::Builder) {
builder.capability(spirv::Capability::Int64);
builder.capability(spirv::Capability::Float16);
builder.capability(spirv::Capability::Float64);
+ builder.capability(spirv::Capability::DenormFlushToZero);
// TODO: re-enable when Intel float control extension works
//builder.capability(spirv::Capability::FunctionFloatControlINTEL);
}