mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 18:45:45 +00:00
shader: Address Feedback
This commit is contained in:
parent
5a6eb31578
commit
741b21715a
16 changed files with 60 additions and 211 deletions
|
@ -25,13 +25,7 @@ enum class FpRounding : u8 {
|
|||
RZ, // Round towards zero
|
||||
};
|
||||
|
||||
enum class MemoryScope : u32 {
|
||||
DontCare,
|
||||
Warp,
|
||||
Workgroup,
|
||||
Device,
|
||||
System
|
||||
};
|
||||
enum class MemoryScope : u32 { DontCare, Warp, Workgroup, Device, System };
|
||||
|
||||
struct FpControl {
|
||||
bool no_contraction{false};
|
||||
|
@ -40,11 +34,6 @@ struct FpControl {
|
|||
};
|
||||
static_assert(sizeof(FpControl) <= sizeof(u32));
|
||||
|
||||
union BarrierInstInfo {
|
||||
u32 raw;
|
||||
BitField<0, 3, MemoryScope> scope;
|
||||
};
|
||||
|
||||
union TextureInstInfo {
|
||||
u32 raw;
|
||||
BitField<0, 8, TextureType> type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue