mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-02 22:28:45 +00:00
add IMAGEGATHER4_C_O
This commit is contained in:
parent
0e46fbfe8f
commit
f4fa036c8e
3 changed files with 6 additions and 2 deletions
|
@ -315,6 +315,9 @@ void GcnDecodeContext::repairOperandType() {
|
||||||
case Opcode::IMAGE_GATHER4_C:
|
case Opcode::IMAGE_GATHER4_C:
|
||||||
m_instruction.src[0].type = ScalarType::Any;
|
m_instruction.src[0].type = ScalarType::Any;
|
||||||
break;
|
break;
|
||||||
|
case Opcode::IMAGE_GATHER4_C_O:
|
||||||
|
m_instruction.src[0].type = ScalarType::Any;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3625,8 +3625,8 @@ constexpr std::array<InstFormat, 112> InstructionFormatMIMG = {{
|
||||||
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Uint32,
|
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Uint32,
|
||||||
ScalarType::Float32},
|
ScalarType::Float32},
|
||||||
// 88 = IMAGE_GATHER4_C_O
|
// 88 = IMAGE_GATHER4_C_O
|
||||||
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Undefined,
|
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Uint32,
|
||||||
ScalarType::Undefined},
|
ScalarType::Float32},
|
||||||
// 89 = IMAGE_GATHER4_C_CL_O
|
// 89 = IMAGE_GATHER4_C_CL_O
|
||||||
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Undefined,
|
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Undefined,
|
||||||
ScalarType::Undefined},
|
ScalarType::Undefined},
|
||||||
|
|
|
@ -144,6 +144,7 @@ void Translator::EmitVectorMemory(const GcnInst& inst) {
|
||||||
// Image gather operations
|
// Image gather operations
|
||||||
case Opcode::IMAGE_GATHER4_LZ:
|
case Opcode::IMAGE_GATHER4_LZ:
|
||||||
case Opcode::IMAGE_GATHER4_C:
|
case Opcode::IMAGE_GATHER4_C:
|
||||||
|
case Opcode::IMAGE_GATHER4_C_O:
|
||||||
case Opcode::IMAGE_GATHER4_C_LZ:
|
case Opcode::IMAGE_GATHER4_C_LZ:
|
||||||
case Opcode::IMAGE_GATHER4_LZ_O:
|
case Opcode::IMAGE_GATHER4_LZ_O:
|
||||||
return IMAGE_GATHER(inst);
|
return IMAGE_GATHER(inst);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue