mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 08:05:46 +00:00
shader: Implement TEXS
This commit is contained in:
parent
71f96fa636
commit
17a82b56d7
8 changed files with 287 additions and 7 deletions
|
@ -512,6 +512,14 @@ Value IREmitter::UnpackFloat2x16(const U32& value) {
|
|||
return Inst(Opcode::UnpackFloat2x16, value);
|
||||
}
|
||||
|
||||
U32 IREmitter::PackHalf2x16(const Value& vector) {
|
||||
return Inst<U32>(Opcode::PackHalf2x16, vector);
|
||||
}
|
||||
|
||||
Value IREmitter::UnpackHalf2x16(const U32& value) {
|
||||
return Inst(Opcode::UnpackHalf2x16, value);
|
||||
}
|
||||
|
||||
F64 IREmitter::PackDouble2x32(const Value& vector) {
|
||||
return Inst<F64>(Opcode::PackDouble2x32, vector);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue