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
No known key found for this signature in database
GPG key ID: B8ADC8F57BA18DBA
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},