mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-11-26 20:50:40 +00:00
video_core: IMAGEGATHER4_C_O (#1210)
This commit is contained in:
parent
54dafce541
commit
ff13aff862
@ -313,6 +313,7 @@ void GcnDecodeContext::repairOperandType() {
|
||||
m_instruction.src[2].type = ScalarType::Uint64;
|
||||
break;
|
||||
case Opcode::IMAGE_GATHER4_C:
|
||||
case Opcode::IMAGE_GATHER4_C_O:
|
||||
m_instruction.src[0].type = ScalarType::Any;
|
||||
break;
|
||||
default:
|
||||
|
@ -3625,8 +3625,8 @@ constexpr std::array<InstFormat, 112> InstructionFormatMIMG = {{
|
||||
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Uint32,
|
||||
ScalarType::Float32},
|
||||
// 88 = IMAGE_GATHER4_C_O
|
||||
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Undefined,
|
||||
ScalarType::Undefined},
|
||||
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Uint32,
|
||||
ScalarType::Float32},
|
||||
// 89 = IMAGE_GATHER4_C_CL_O
|
||||
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Undefined,
|
||||
ScalarType::Undefined},
|
||||
|
@ -144,6 +144,7 @@ void Translator::EmitVectorMemory(const GcnInst& inst) {
|
||||
// Image gather operations
|
||||
case Opcode::IMAGE_GATHER4_LZ:
|
||||
case Opcode::IMAGE_GATHER4_C:
|
||||
case Opcode::IMAGE_GATHER4_C_O:
|
||||
case Opcode::IMAGE_GATHER4_C_LZ:
|
||||
case Opcode::IMAGE_GATHER4_LZ_O:
|
||||
return IMAGE_GATHER(inst);
|
||||
|
Loading…
Reference in New Issue
Block a user