| 32 | }; |
| 33 | |
| 34 | uint32 GetHash(const VertexBufferLayouts& key) |
| 35 | { |
| 36 | uint32 hash = GetHash(key.Layouts[0]); |
| 37 | for (int32 i = 1; i < GPU_MAX_VB_BINDED; i++) |
| 38 | CombineHash(hash, GetHash(key.Layouts[i])); |
| 39 | return hash; |
| 40 | } |
| 41 | |
| 42 | namespace |
| 43 | { |
no test coverage detected