mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-15 07:37:58 -05:00
shader: Implement I2F
This commit is contained in:
@ -56,7 +56,7 @@ Shader::TextureType GetType(TextureType type, bool dc) {
|
||||
}
|
||||
|
||||
IR::Value MakeCoords(TranslatorVisitor& v, IR::Reg reg, TextureType type) {
|
||||
const auto read_array{[&]() -> IR::F32 { return v.ir.ConvertUToF(32, v.X(reg)); }};
|
||||
const auto read_array{[&]() -> IR::F32 { return v.ir.ConvertUToF(32, 16, v.X(reg)); }};
|
||||
switch (type) {
|
||||
case TextureType::_1D:
|
||||
return v.F(reg);
|
||||
|
Reference in New Issue
Block a user