diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-26 02:55:06 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:36 +0200 |
commit | b95716e5431e7ddb05239c31080c01aab24a13ac (patch) | |
tree | 0de79d8166ee7ebbdb10bcc3a830bf0580d0de3d /src/shader_recompiler/backend/glsl/reg_alloc.h | |
parent | glsl: Fix floating point compare ops (diff) | |
download | yuzu-b95716e5431e7ddb05239c31080c01aab24a13ac.tar yuzu-b95716e5431e7ddb05239c31080c01aab24a13ac.tar.gz yuzu-b95716e5431e7ddb05239c31080c01aab24a13ac.tar.bz2 yuzu-b95716e5431e7ddb05239c31080c01aab24a13ac.tar.lz yuzu-b95716e5431e7ddb05239c31080c01aab24a13ac.tar.xz yuzu-b95716e5431e7ddb05239c31080c01aab24a13ac.tar.zst yuzu-b95716e5431e7ddb05239c31080c01aab24a13ac.zip |
Diffstat (limited to 'src/shader_recompiler/backend/glsl/reg_alloc.h')
-rw-r--r-- | src/shader_recompiler/backend/glsl/reg_alloc.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/shader_recompiler/backend/glsl/reg_alloc.h b/src/shader_recompiler/backend/glsl/reg_alloc.h index 9f2ff8718..419e1e761 100644 --- a/src/shader_recompiler/backend/glsl/reg_alloc.h +++ b/src/shader_recompiler/backend/glsl/reg_alloc.h @@ -33,10 +33,12 @@ enum class Type : u32 { struct Id { union { u32 raw; - BitField<0, 29, u32> index; - BitField<29, 1, u32> is_long; - BitField<30, 1, u32> is_spill; - BitField<31, 1, u32> is_condition_code; + BitField<0, 1, u32> is_valid; + BitField<1, 1, u32> is_long; + BitField<2, 1, u32> is_spill; + BitField<3, 1, u32> is_condition_code; + BitField<4, 1, u32> is_null; + BitField<5, 27, u32> index; }; bool operator==(Id rhs) const noexcept { |