Merge pull request #3718 from ReinUsesLisp/better-pipeline-state

fixed_pipeline_state: Pack structure, use memcmp and CityHash on it
This commit is contained in:
Rodrigo Locatti
2020-04-21 18:17:58 -03:00
committed by GitHub
6 changed files with 564 additions and 512 deletions

View File

@ -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;