fixed_pipeline_state: Pack attribute state
Reduce FixedPipelineState's size from 1384 to 664 bytes
This commit is contained in:
parent
2133482a17
commit
ab6704f20c
6 changed files with 85 additions and 101 deletions
|
@ -1149,7 +1149,7 @@ public:
|
|||
|
||||
/// Returns whether the vertex array specified by index is supposed to be
|
||||
/// accessed per instance or not.
|
||||
bool IsInstancingEnabled(u32 index) const {
|
||||
bool IsInstancingEnabled(std::size_t index) const {
|
||||
return is_instanced[index];
|
||||
}
|
||||
} instanced_arrays;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue