mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-26 20:36:16 +00:00
shader_recompiler: Proper support for inst-typed buffer format operations. (#2469)
This commit is contained in:
parent
6860bb7349
commit
9424047214
6 changed files with 167 additions and 207 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue