shader_recompiler/frontend: fix `IMAGE_SAMPLE_CD` format
* Seen on Dark Souls
This commit is contained in:
parent
977371e7e1
commit
3a8a666df0
|
@ -5,8 +5,6 @@
|
||||||
#include "common/assert.h"
|
#include "common/assert.h"
|
||||||
#include "shader_recompiler/frontend/decode.h"
|
#include "shader_recompiler/frontend/decode.h"
|
||||||
|
|
||||||
#define MAGIC_ENUM_RANGE_MIN 0
|
|
||||||
#define MAGIC_ENUM_RANGE_MAX 1515
|
|
||||||
#include "magic_enum.hpp"
|
#include "magic_enum.hpp"
|
||||||
|
|
||||||
namespace Shader::Gcn {
|
namespace Shader::Gcn {
|
||||||
|
|
|
@ -3655,8 +3655,8 @@ constexpr std::array<InstFormat, 112> InstructionFormatMIMG = {{
|
||||||
{},
|
{},
|
||||||
{},
|
{},
|
||||||
// 104 = IMAGE_SAMPLE_CD
|
// 104 = IMAGE_SAMPLE_CD
|
||||||
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Undefined,
|
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Float32,
|
||||||
ScalarType::Undefined},
|
ScalarType::Float32},
|
||||||
// 105 = IMAGE_SAMPLE_CD_CL
|
// 105 = IMAGE_SAMPLE_CD_CL
|
||||||
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Undefined,
|
{InstClass::VectorMemImgSmp, InstCategory::VectorMemory, 4, 1, ScalarType::Undefined,
|
||||||
ScalarType::Undefined},
|
ScalarType::Undefined},
|
||||||
|
|
Loading…
Reference in New Issue