mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-02-04 02:51:18 +01:00
use u32
This commit is contained in:
@@ -117,6 +117,7 @@ void FixedPipelineState::Refresh(Tegra::Engines::Maxwell3D& maxwell3d, DynamicFe
|
||||
// with the fixed pipeline taking in invalid vertices! :)
|
||||
const auto& attrs = regs.vertex_attrib_format;
|
||||
attribute_types[0] = attribute_types[1] = attribute_types[2] = attribute_types[3] = 0;
|
||||
static_assert(Maxwell::NumVertexAttributes == 32);
|
||||
for (size_t i = 0; i < Maxwell::NumVertexAttributes; ++i) {
|
||||
u32 const mask = attrs[i].constant != 0 ? 0 : 0x07; // non-constant equates invalid
|
||||
u32 const type = size_t(attrs[i].type.Value());
|
||||
|
||||
@@ -226,7 +226,7 @@ struct FixedPipelineState {
|
||||
|
||||
std::array<u16, Maxwell::NumViewports> viewport_swizzles;
|
||||
union {
|
||||
u64 attribute_types[3]; // Used with VK_EXT_vertex_input_dynamic_state
|
||||
u32 attribute_types[3]; // Used with VK_EXT_vertex_input_dynamic_state
|
||||
u64 enabled_divisors;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user