Revert "[TEST] Another miscellaneous change 2"

This commit is contained in:
CamilleLaVey
2026-07-28 01:23:39 -04:00
parent bf13e7ce1d
commit 77ffefbbbf
8 changed files with 17 additions and 116 deletions
-16
View File
@@ -171,22 +171,6 @@ public:
};
std::array<ConstBufferConfig, NumConstBuffers> const_buffer_config;
static constexpr u32 NvnShaderSlotBias = 2;
u32 ResolveConstBufferIndex(u32 shader_index) const {
const u32 mask = const_buffer_enable_mask.Value();
if (((mask >> shader_index) & 1) != 0) {
return shader_index;
}
if (shader_index >= NvnShaderSlotBias) {
const u32 biased = shader_index - NvnShaderSlotBias;
if (((mask >> biased) & 1) != 0) {
return biased;
}
}
return shader_index;
}
union {
BitField<0, 20, u32> local_pos_alloc;
BitField<27, 5, u32> barrier_alloc;