glsl: FP function fixes
This commit is contained in:
parent
30f47ec831
commit
d7656077bf
7 changed files with 25 additions and 17 deletions
|
@ -36,7 +36,7 @@ std::string MakeImm(const IR::Value& value) {
|
|||
case IR::Type::U64:
|
||||
return fmt::format("{}ul", value.U64());
|
||||
case IR::Type::F64:
|
||||
return fmt::format("{}", value.F64());
|
||||
return fmt::format("{}lf", value.F64());
|
||||
default:
|
||||
throw NotImplementedException("Immediate type {}", value.Type());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue