summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/modifiers.h
diff options
context:
space:
mode:
authorGravatar FernandoS272021-04-03 01:48:39 +0200
committerGravatar ameerj2021-07-22 21:51:26 -0400
commitbaec84247fe815199595d9e8077b71f3b5c8317e (patch)
tree84195625ffb43922ba87b25296057bdeb9f22a2c /src/shader_recompiler/frontend/ir/modifiers.h
parentshader: Implement SR_LaneId (diff)
downloadyuzu-baec84247fe815199595d9e8077b71f3b5c8317e.tar.gz
yuzu-baec84247fe815199595d9e8077b71f3b5c8317e.tar.xz
yuzu-baec84247fe815199595d9e8077b71f3b5c8317e.zip
shader: Address Feedback
Diffstat (limited to 'src/shader_recompiler/frontend/ir/modifiers.h')
-rw-r--r--src/shader_recompiler/frontend/ir/modifiers.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/shader_recompiler/frontend/ir/modifiers.h b/src/shader_recompiler/frontend/ir/modifiers.h
index 7730c25a9..2aa4ac79b 100644
--- a/src/shader_recompiler/frontend/ir/modifiers.h
+++ b/src/shader_recompiler/frontend/ir/modifiers.h
@@ -25,13 +25,7 @@ enum class FpRounding : u8 {
25 RZ, // Round towards zero 25 RZ, // Round towards zero
26}; 26};
27 27
28enum class MemoryScope : u32 { 28enum class MemoryScope : u32 { DontCare, Warp, Workgroup, Device, System };
29 DontCare,
30 Warp,
31 Workgroup,
32 Device,
33 System
34};
35 29
36struct FpControl { 30struct FpControl {
37 bool no_contraction{false}; 31 bool no_contraction{false};
@@ -40,11 +34,6 @@ struct FpControl {
40}; 34};
41static_assert(sizeof(FpControl) <= sizeof(u32)); 35static_assert(sizeof(FpControl) <= sizeof(u32));
42 36
43union BarrierInstInfo {
44 u32 raw;
45 BitField<0, 3, MemoryScope> scope;
46};
47
48union TextureInstInfo { 37union TextureInstInfo {
49 u32 raw; 38 u32 raw;
50 BitField<0, 8, TextureType> type; 39 BitField<0, 8, TextureType> type;