shader_recompiler/frontend: fix IMAGE_SAMPLE_CD format

* Seen on Dark Souls
This commit is contained in:
Daniel R
2024-08-25 19:53:45 +02:00
parent 977371e7e1
commit 3a8a666df0
2 changed files with 2 additions and 4 deletions

View File

@@ -3655,8 +3655,8 @@ constexpr std::array<InstFormat, 112> InstructionFormatMIMG = {{
{},
{},
// 104 = IMAGE_SAMPLE_CD
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Undefined,
ScalarType::Undefined},
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Float32,
ScalarType::Float32},
// 105 = IMAGE_SAMPLE_CD_CL
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Undefined,
ScalarType::Undefined},