mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-18 01:14:56 +00:00
video_core: Add image support
This commit is contained in:
parent
729e166cd3
commit
d59b102b6f
48 changed files with 1264 additions and 259 deletions
|
@ -227,14 +227,8 @@ U32 IREmitter::ReadConst(const U64& address, const U32& offset) {
|
|||
return Inst<U32>(Opcode::ReadConst, address, offset);
|
||||
}
|
||||
|
||||
template <>
|
||||
U32 IREmitter::ReadConstBuffer(const Value& handle, const U32& index, const U32& offset) {
|
||||
return Inst<U32>(Opcode::ReadConstBuffer, handle, index, offset);
|
||||
}
|
||||
|
||||
template <>
|
||||
F32 IREmitter::ReadConstBuffer(const Value& handle, const U32& index, const U32& offset) {
|
||||
return Inst<F32>(Opcode::ReadConstBufferF32, handle, index, offset);
|
||||
F32 IREmitter::ReadConstBuffer(const Value& handle, const U32& index) {
|
||||
return Inst<F32>(Opcode::ReadConstBuffer, handle, index);
|
||||
}
|
||||
|
||||
Value IREmitter::LoadBuffer(int num_dwords, const Value& handle, const Value& address,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue