shader_recompiler/frontend: fix IMAGE_SAMPLE_CD format

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

No files matched your search

@@ -5,8 +5,6 @@
#include "common/assert.h"
#include "shader_recompiler/frontend/decode.h"
#define MAGIC_ENUM_RANGE_MIN 0
#define MAGIC_ENUM_RANGE_MAX 1515
#include "magic_enum.hpp"
namespace Shader::Gcn {
+2 -2
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},