shader_recompiler: Proper support for inst-typed buffer format operations. (#2469)

This commit is contained in:
squidbus 2025-02-21 03:01:18 -08:00 committed by GitHub
parent 6860bb7349
commit 9424047214
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 167 additions and 207 deletions

View file

@ -7,6 +7,7 @@
#include "common/bit_field.h"
#include "common/enum.h"
#include "common/types.h"
#include "video_core/amdgpu/types.h"
namespace Shader::IR {
@ -52,6 +53,8 @@ union BufferInstInfo {
BitField<14, 1, u32> system_coherent;
BitField<15, 1, u32> globally_coherent;
BitField<16, 1, u32> typed;
BitField<17, 4, AmdGpu::DataFormat> inst_data_fmt;
BitField<21, 3, AmdGpu::NumberFormat> inst_num_fmt;
};
enum class ScalarReg : u32 {