diff --git a/renderdoc/api/replay/basic_types.h b/renderdoc/api/replay/basic_types.h index 69b33eb10..a8b7f0dc3 100644 --- a/renderdoc/api/replay/basic_types.h +++ b/renderdoc/api/replay/basic_types.h @@ -165,24 +165,24 @@ struct null_terminator template ::value> struct ItemHelper { - static void initRange(T *first, int32_t count) + static void initRange(T *first, size_t count) { - for(int32_t i = 0; i < count; i++) + for(size_t i = 0; i < count; i++) new(first + i) T(); } - static bool equalRange(T *a, T *b, int32_t count) + static bool equalRange(T *a, T *b, size_t count) { - for(int32_t i = 0; i < count; i++) + for(size_t i = 0; i < count; i++) if(!(a[i] == b[i])) return false; return true; } - static bool lessthanRange(T *a, T *b, int32_t count) + static bool lessthanRange(T *a, T *b, size_t count) { - for(int32_t i = 0; i < count; i++) + for(size_t i = 0; i < count; i++) if(a[i] < b[i]) return true; @@ -193,9 +193,9 @@ struct ItemHelper template struct ItemHelper { - static void initRange(T *first, int32_t itemCount) { memset(first, 0, itemCount * sizeof(T)); } - static bool equalRange(T *a, T *b, int32_t count) { return !memcmp(a, b, count * sizeof(T)); } - static bool lessthanRange(T *a, T *b, int32_t count) + static void initRange(T *first, size_t itemCount) { memset(first, 0, itemCount * sizeof(T)); } + static bool equalRange(T *a, T *b, size_t count) { return !memcmp(a, b, count * sizeof(T)); } + static bool lessthanRange(T *a, T *b, size_t count) { return memcmp(a, b, count * sizeof(T)) < 0; } @@ -206,9 +206,9 @@ struct ItemHelper template ::value> struct ItemCopyHelper { - static void copyRange(T *dest, const T *src, int32_t count) + static void copyRange(T *dest, const T *src, size_t count) { - for(int32_t i = 0; i < count; i++) + for(size_t i = 0; i < count; i++) new(dest + i) T(src[i]); } }; @@ -216,7 +216,7 @@ struct ItemCopyHelper template struct ItemCopyHelper { - static void copyRange(T *dest, const T *src, int32_t count) + static void copyRange(T *dest, const T *src, size_t count) { memcpy(dest, src, count * sizeof(T)); } @@ -227,9 +227,9 @@ struct ItemCopyHelper template ::value> struct ItemDestroyHelper { - static void destroyRange(T *first, int32_t count) + static void destroyRange(T *first, size_t count) { - for(int32_t i = 0; i < count; i++) + for(size_t i = 0; i < count; i++) (first + i)->~T(); } }; @@ -237,7 +237,7 @@ struct ItemDestroyHelper template struct ItemDestroyHelper { - static void destroyRange(T *first, int32_t itemCount) {} + static void destroyRange(T *first, size_t itemCount) {} }; template @@ -245,8 +245,8 @@ struct rdcarray { protected: T *elems; - int32_t allocatedCount; - int32_t usedCount; + size_t allocatedCount; + size_t usedCount; ///////////////////////////////////////////////////////////////// // memory management, in a dll safe way @@ -267,7 +267,7 @@ protected: #endif } - inline void setUsedCount(int32_t newCount) + inline void setUsedCount(size_t newCount) { usedCount = newCount; null_terminator::fixup(elems, usedCount); @@ -313,10 +313,10 @@ public: const T &front() const { return *elems; } const T &back() const { return *(elems + usedCount - 1); } const T &at(size_t idx) const { return elems[idx]; } - size_t size() const { return (size_t)usedCount; } - size_t byteSize() const { return (size_t)usedCount * sizeof(T); } + size_t size() const { return usedCount; } + size_t byteSize() const { return usedCount * sizeof(T); } int32_t count() const { return (int32_t)usedCount; } - size_t capacity() const { return (size_t)allocatedCount; } + size_t capacity() const { return allocatedCount; } bool empty() const { return usedCount == 0; } bool isEmpty() const { return usedCount == 0; } void clear() { resize(0); } @@ -362,7 +362,7 @@ public: elems = newElems; // update allocated size - allocatedCount = (int32_t)s; + allocatedCount = s; } void resize(size_t s) @@ -371,7 +371,7 @@ public: if(s == size()) return; - int32_t oldCount = usedCount; + size_t oldCount = usedCount; if(s > size()) { @@ -379,7 +379,7 @@ public: reserve(s); // update the currently allocated count - setUsedCount((int32_t)s); + setUsedCount(s); // default initialise the new elements ItemHelper::initRange(elems + oldCount, usedCount - oldCount); @@ -387,7 +387,7 @@ public: else { // resizing down, we just need to update the count and destruct removed elements - setUsedCount((int32_t)s); + setUsedCount(s); ItemDestroyHelper::destroyRange(elems + usedCount, oldCount - usedCount); } @@ -514,7 +514,7 @@ public: } // update new size - setUsedCount(usedCount + (int32_t)count); + setUsedCount(usedCount + count); } // a couple of helpers @@ -562,7 +562,7 @@ public: } // update new size - setUsedCount(usedCount - (int32_t)count); + setUsedCount(usedCount - count); } ///////////////////////////////////////////////////////////////// @@ -646,7 +646,7 @@ public: clear(); // update new size - setUsedCount((int32_t)in.size()); + setUsedCount(in.size()); // copy construct the new elems ItemCopyHelper::copyRange(elems, in.data(), usedCount); @@ -664,7 +664,7 @@ public: clear(); // update new size - setUsedCount((int32_t)in.size()); + setUsedCount(in.size()); // copy construct the new elems int32_t i = 0; @@ -691,7 +691,7 @@ public: clear(); // update new size - setUsedCount((int32_t)in.size()); + setUsedCount(in.size()); // copy construct the new elems ItemCopyHelper::copyRange(elems, in.data(), usedCount); @@ -710,7 +710,7 @@ public: clear(); // update new size - setUsedCount((int32_t)count); + setUsedCount(count); // copy construct the new elems ItemCopyHelper::copyRange(elems, in, usedCount); @@ -795,8 +795,8 @@ struct rdcstr : public rdcarray QByteArray arr = in.toUtf8(); assign(arr.data(), arr.size()); } - operator QString() const { return QString::fromUtf8(elems, usedCount); } - operator QVariant() const { return QVariant(QString::fromUtf8(elems, usedCount)); } + operator QString() const { return QString::fromUtf8(elems, (int32_t)usedCount); } + operator QVariant() const { return QVariant(QString::fromUtf8(elems, (int32_t)usedCount)); } #endif // conventional data accessor @@ -830,7 +830,10 @@ struct bytebuf : public rdcarray resize(in.size()); memcpy(elems, in.data(), in.size()); } - operator QByteArray() const { return QByteArray::fromRawData((const char *)elems, usedCount); } + operator QByteArray() const + { + return QByteArray::fromRawData((const char *)elems, (int32_t)usedCount); + } #endif }; diff --git a/renderdoc/driver/d3d12/d3d12_resources.h b/renderdoc/driver/d3d12/d3d12_resources.h index 4e717506a..c3bb35d4e 100644 --- a/renderdoc/driver/d3d12/d3d12_resources.h +++ b/renderdoc/driver/d3d12/d3d12_resources.h @@ -636,7 +636,7 @@ public: { public: static const int AllocPoolCount = 16384; - static const int AllocMaxByteSize = 8 * 1024 * 1024; + static const int AllocMaxByteSize = 10 * 1024 * 1024; ALLOCATE_WITH_WRAPPED_POOL(ShaderEntry, AllocPoolCount, AllocMaxByteSize); static bool m_InternalResources; diff --git a/renderdoc/replay/renderdoc_serialise.inl b/renderdoc/replay/renderdoc_serialise.inl index 1f9e5ba55..e7294d203 100644 --- a/renderdoc/replay/renderdoc_serialise.inl +++ b/renderdoc/replay/renderdoc_serialise.inl @@ -70,7 +70,7 @@ void DoSerialise(SerialiserType &ser, PathEntry &el) SERIALISE_MEMBER(lastmod); SERIALISE_MEMBER(size); - SIZE_CHECK(32); + SIZE_CHECK(40); } template @@ -83,7 +83,7 @@ void DoSerialise(SerialiserType &ser, SectionProperties &el) SERIALISE_MEMBER(uncompressedSize); SERIALISE_MEMBER(compressedSize); - SIZE_CHECK(48); + SIZE_CHECK(56); } template @@ -94,7 +94,7 @@ void DoSerialise(SerialiserType &ser, EnvironmentModification &el) SERIALISE_MEMBER(name); SERIALISE_MEMBER(value); - SIZE_CHECK(40); + SIZE_CHECK(56); } template @@ -147,7 +147,7 @@ void DoSerialise(SerialiserType &ser, ShaderBindpointMapping &el) SERIALISE_MEMBER(readOnlyResources); SERIALISE_MEMBER(readWriteResources); - SIZE_CHECK(80); + SIZE_CHECK(120); } template @@ -167,7 +167,7 @@ void DoSerialise(SerialiserType &ser, SigParameter &el) SERIALISE_MEMBER(stream); SERIALISE_MEMBER(arrayIndex); - SIZE_CHECK(80); + SIZE_CHECK(104); } template @@ -182,7 +182,7 @@ void DoSerialise(SerialiserType &ser, ShaderVariableDescriptor &el) SERIALISE_MEMBER(arrayByteStride); SERIALISE_MEMBER(name); - SIZE_CHECK(32); + SIZE_CHECK(40); } template @@ -191,7 +191,7 @@ void DoSerialise(SerialiserType &ser, ShaderVariableType &el) SERIALISE_MEMBER(descriptor); SERIALISE_MEMBER(members); - SIZE_CHECK(48); + SIZE_CHECK(64); } template @@ -202,7 +202,7 @@ void DoSerialise(SerialiserType &ser, ShaderConstant &el) SERIALISE_MEMBER(defaultValue); SERIALISE_MEMBER(type); - SIZE_CHECK(80); + SIZE_CHECK(104); } template @@ -214,7 +214,7 @@ void DoSerialise(SerialiserType &ser, ConstantBlock &el) SERIALISE_MEMBER(byteSize); SERIALISE_MEMBER(bufferBacked); - SIZE_CHECK(48); + SIZE_CHECK(64); } template @@ -223,7 +223,7 @@ void DoSerialise(SerialiserType &ser, ShaderSampler &el) SERIALISE_MEMBER(name); SERIALISE_MEMBER(bindPoint); - SIZE_CHECK(24); + SIZE_CHECK(32); } template @@ -236,7 +236,7 @@ void DoSerialise(SerialiserType &ser, ShaderResource &el) SERIALISE_MEMBER(isTexture); SERIALISE_MEMBER(isReadOnly); - SIZE_CHECK(80); + SIZE_CHECK(104); } template @@ -245,7 +245,7 @@ void DoSerialise(SerialiserType &ser, ShaderEntryPoint &el) SERIALISE_MEMBER(name); SERIALISE_MEMBER(stage); - SIZE_CHECK(24); + SIZE_CHECK(32); } template @@ -254,7 +254,7 @@ void DoSerialise(SerialiserType &ser, ShaderCompileFlag &el) SERIALISE_MEMBER(name); SERIALISE_MEMBER(value); - SIZE_CHECK(32); + SIZE_CHECK(48); } template @@ -262,7 +262,7 @@ void DoSerialise(SerialiserType &ser, ShaderCompileFlags &el) { SERIALISE_MEMBER(flags); - SIZE_CHECK(16); + SIZE_CHECK(24); } template @@ -271,7 +271,7 @@ void DoSerialise(SerialiserType &ser, ShaderSourceFile &el) SERIALISE_MEMBER(filename); SERIALISE_MEMBER(contents); - SIZE_CHECK(32); + SIZE_CHECK(48); } template @@ -281,7 +281,7 @@ void DoSerialise(SerialiserType &ser, ShaderDebugInfo &el) SERIALISE_MEMBER(files); SERIALISE_MEMBER(encoding); - SIZE_CHECK(40); + SIZE_CHECK(56); } template @@ -311,7 +311,7 @@ void DoSerialise(SerialiserType &ser, ShaderReflection &el) SERIALISE_MEMBER(interfaces); - SIZE_CHECK(224); + SIZE_CHECK(312); } template @@ -330,7 +330,7 @@ void DoSerialise(SerialiserType &ser, ShaderVariable &el) SERIALISE_MEMBER(members); - SIZE_CHECK(184); + SIZE_CHECK(200); } template @@ -354,7 +354,7 @@ void DoSerialise(SerialiserType &ser, LocalVariableMapping &el) SERIALISE_MEMBER(regCount); SERIALISE_MEMBER(registers); - SIZE_CHECK(168); + SIZE_CHECK(176); } template @@ -367,7 +367,7 @@ void DoSerialise(SerialiserType &ser, LineColumnInfo &el) SERIALISE_MEMBER(colEnd); SERIALISE_MEMBER(callstack); - SIZE_CHECK(40); + SIZE_CHECK(48); } template @@ -381,7 +381,7 @@ void DoSerialise(SerialiserType &ser, ShaderDebugState &el) SERIALISE_MEMBER(nextInstruction); SERIALISE_MEMBER(flags); - SIZE_CHECK(88); + SIZE_CHECK(128); } template @@ -393,7 +393,7 @@ void DoSerialise(SerialiserType &ser, ShaderDebugTrace &el) SERIALISE_MEMBER(hasLocals); SERIALISE_MEMBER(lineInfo); - SIZE_CHECK(72); + SIZE_CHECK(104); } template @@ -418,7 +418,7 @@ void DoSerialise(SerialiserType &ser, ResourceDescription &el) SERIALISE_MEMBER(derivedResources); SERIALISE_MEMBER(parentResources); - SIZE_CHECK(80); + SIZE_CHECK(112); } template @@ -489,7 +489,7 @@ void DoSerialise(SerialiserType &ser, DebugMessage &el) SERIALISE_MEMBER(messageID); SERIALISE_MEMBER(description); - SIZE_CHECK(40); + SIZE_CHECK(48); } template @@ -500,7 +500,7 @@ void DoSerialise(SerialiserType &ser, APIEvent &el) SERIALISE_MEMBER(chunkIndex); SERIALISE_MEMBER(fileOffset); - SIZE_CHECK(40); + SIZE_CHECK(48); } template @@ -542,7 +542,7 @@ void DoSerialise(SerialiserType &ser, DrawcallDescription &el) SERIALISE_MEMBER(events); SERIALISE_MEMBER(children); - SIZE_CHECK(264); + SIZE_CHECK(288); } template @@ -554,7 +554,7 @@ void DoSerialise(SerialiserType &ser, ConstantBindStats &el) SERIALISE_MEMBER(bindslots); SERIALISE_MEMBER(sizes); - SIZE_CHECK(48); + SIZE_CHECK(64); } template @@ -565,7 +565,7 @@ void DoSerialise(SerialiserType &ser, SamplerBindStats &el) SERIALISE_MEMBER(nulls); SERIALISE_MEMBER(bindslots); - SIZE_CHECK(32); + SIZE_CHECK(40); } template @@ -577,7 +577,7 @@ void DoSerialise(SerialiserType &ser, ResourceBindStats &el) SERIALISE_MEMBER(types); SERIALISE_MEMBER(bindslots); - SIZE_CHECK(48); + SIZE_CHECK(64); } template @@ -589,7 +589,7 @@ void DoSerialise(SerialiserType &ser, ResourceUpdateStats &el) SERIALISE_MEMBER(types); SERIALISE_MEMBER(sizes); - SIZE_CHECK(48); + SIZE_CHECK(64); } template @@ -600,7 +600,7 @@ void DoSerialise(SerialiserType &ser, DrawcallStats &el) SERIALISE_MEMBER(indirect); SERIALISE_MEMBER(counts); - SIZE_CHECK(32); + SIZE_CHECK(40); } template @@ -630,7 +630,7 @@ void DoSerialise(SerialiserType &ser, VertexBindStats &el) SERIALISE_MEMBER(nulls); SERIALISE_MEMBER(bindslots); - SIZE_CHECK(32); + SIZE_CHECK(40); } template @@ -686,7 +686,7 @@ void DoSerialise(SerialiserType &ser, RasterizationStats &el) SERIALISE_MEMBER(viewports); SERIALISE_MEMBER(rects); - SIZE_CHECK(48); + SIZE_CHECK(64); } template @@ -697,7 +697,7 @@ void DoSerialise(SerialiserType &ser, OutputTargetStats &el) SERIALISE_MEMBER(nulls); SERIALISE_MEMBER(bindslots); - SIZE_CHECK(32); + SIZE_CHECK(40); } template @@ -719,7 +719,7 @@ void DoSerialise(SerialiserType &ser, FrameStatistics &el) SERIALISE_MEMBER(rasters); SERIALISE_MEMBER(outputs); - SIZE_CHECK(1136); + SIZE_CHECK(1432); } template @@ -735,7 +735,7 @@ void DoSerialise(SerialiserType &ser, FrameDescription &el) SERIALISE_MEMBER(stats); SERIALISE_MEMBER(debugMessages); - SIZE_CHECK(1208); + SIZE_CHECK(1512); } template @@ -744,7 +744,7 @@ void DoSerialise(SerialiserType &ser, FrameRecord &el) SERIALISE_MEMBER(frameInfo); SERIALISE_MEMBER(drawcallList); - SIZE_CHECK(1224); + SIZE_CHECK(1536); } template @@ -802,7 +802,7 @@ void DoSerialise(SerialiserType &ser, CounterDescription &el) SERIALISE_MEMBER(unit); SERIALISE_MEMBER(uuid); - SIZE_CHECK(88); + SIZE_CHECK(112); } template @@ -961,7 +961,7 @@ void DoSerialise(SerialiserType &ser, D3D11Pipe::Layout &el) SERIALISE_MEMBER(perInstance); SERIALISE_MEMBER(instanceDataStepRate); - SIZE_CHECK(48); + SIZE_CHECK(56); } template @@ -993,7 +993,7 @@ void DoSerialise(SerialiserType &ser, D3D11Pipe::InputAssembly &el) SERIALISE_MEMBER(vertexBuffers); SERIALISE_MEMBER(indexBuffer); - SIZE_CHECK(64); + SIZE_CHECK(80); } template @@ -1061,7 +1061,7 @@ void DoSerialise(SerialiserType &ser, D3D11Pipe::Shader &el) SERIALISE_MEMBER(constantBuffers); SERIALISE_MEMBER(classInstances); - SIZE_CHECK(184); + SIZE_CHECK(264); } template @@ -1078,7 +1078,7 @@ void DoSerialise(SerialiserType &ser, D3D11Pipe::StreamOut &el) { SERIALISE_MEMBER(outputs); - SIZE_CHECK(16); + SIZE_CHECK(24); } template @@ -1108,7 +1108,7 @@ void DoSerialise(SerialiserType &ser, D3D11Pipe::Rasterizer &el) SERIALISE_MEMBER(scissors); SERIALISE_MEMBER(state); - SIZE_CHECK(80); + SIZE_CHECK(96); } template @@ -1135,7 +1135,7 @@ void DoSerialise(SerialiserType &ser, D3D11Pipe::BlendState &el) SERIALISE_MEMBER(blendFactor); SERIALISE_MEMBER(sampleMask); - SIZE_CHECK(56); + SIZE_CHECK(64); } template @@ -1150,7 +1150,7 @@ void DoSerialise(SerialiserType &ser, D3D11Pipe::OutputMerger &el) SERIALISE_MEMBER(depthReadOnly); SERIALISE_MEMBER(stencilReadOnly); - SIZE_CHECK(248); + SIZE_CHECK(272); } template @@ -1182,7 +1182,7 @@ void DoSerialise(SerialiserType &ser, D3D11Pipe::State &el) SERIALISE_MEMBER(predication); - SIZE_CHECK(1528); + SIZE_CHECK(2072); } #pragma endregion D3D11 pipeline state @@ -1200,7 +1200,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::Layout &el) SERIALISE_MEMBER(perInstance); SERIALISE_MEMBER(instanceDataStepRate); - SIZE_CHECK(48); + SIZE_CHECK(56); } template @@ -1233,7 +1233,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::InputAssembly &el) SERIALISE_MEMBER(indexStripCutValue); - SIZE_CHECK(64); + SIZE_CHECK(80); } template @@ -1297,7 +1297,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::ConstantBuffer &el) SERIALISE_MEMBER(byteSize); SERIALISE_MEMBER(rootValues); - SIZE_CHECK(56); + SIZE_CHECK(64); } template @@ -1309,7 +1309,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::RegisterSpace &el) SERIALISE_MEMBER(srvs); SERIALISE_MEMBER(uavs); - SIZE_CHECK(72); + SIZE_CHECK(104); } template @@ -1322,7 +1322,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::Shader &el) SERIALISE_MEMBER(stage); SERIALISE_MEMBER(spaces); - SIZE_CHECK(120); + SIZE_CHECK(168); } template @@ -1342,7 +1342,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::StreamOut &el) { SERIALISE_MEMBER(outputs); - SIZE_CHECK(16); + SIZE_CHECK(24); } template @@ -1371,7 +1371,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::Rasterizer &el) SERIALISE_MEMBER(scissors); SERIALISE_MEMBER(state); - SIZE_CHECK(80); + SIZE_CHECK(96); } template @@ -1398,7 +1398,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::BlendState &el) SERIALISE_MEMBER(blends); SERIALISE_MEMBER(blendFactor); - SIZE_CHECK(40); + SIZE_CHECK(48); } template @@ -1415,7 +1415,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::OM &el) SERIALISE_MEMBER(multiSampleCount); SERIALISE_MEMBER(multiSampleQuality); - SIZE_CHECK(272); + SIZE_CHECK(288); } template @@ -1423,7 +1423,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::ResourceState &el) { SERIALISE_MEMBER(name); - SIZE_CHECK(16); + SIZE_CHECK(24); } template @@ -1432,7 +1432,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::ResourceData &el) SERIALISE_MEMBER(resourceId); SERIALISE_MEMBER(states); - SIZE_CHECK(24); + SIZE_CHECK(32); } template @@ -1458,7 +1458,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::State &el) SERIALISE_MEMBER(resourceStates); - SIZE_CHECK(1184); + SIZE_CHECK(1536); } #pragma endregion D3D12 pipeline state @@ -1499,7 +1499,7 @@ void DoSerialise(SerialiserType &ser, GLPipe::VertexInput &el) SERIALISE_MEMBER(restartIndex); SERIALISE_MEMBER(provokingVertexLast); - SIZE_CHECK(64); + SIZE_CHECK(80); } template @@ -1515,7 +1515,7 @@ void DoSerialise(SerialiserType &ser, GLPipe::Shader &el) SERIALISE_MEMBER(stage); SERIALISE_MEMBER(subroutines); - SIZE_CHECK(128); + SIZE_CHECK(176); } template @@ -1639,7 +1639,7 @@ void DoSerialise(SerialiserType &ser, GLPipe::Rasterizer &el) SERIALISE_MEMBER(scissors); SERIALISE_MEMBER(state); - SIZE_CHECK(104); + SIZE_CHECK(120); } template @@ -1686,7 +1686,7 @@ void DoSerialise(SerialiserType &ser, GLPipe::FBO &el) SERIALISE_MEMBER(drawBuffers); SERIALISE_MEMBER(readBuffer); - SIZE_CHECK(112); + SIZE_CHECK(128); } template @@ -1695,7 +1695,7 @@ void DoSerialise(SerialiserType &ser, GLPipe::BlendState &el) SERIALISE_MEMBER(blends); SERIALISE_MEMBER(blendFactor); - SIZE_CHECK(32); + SIZE_CHECK(40); } template @@ -1707,7 +1707,7 @@ void DoSerialise(SerialiserType &ser, GLPipe::FrameBuffer &el) SERIALISE_MEMBER(readFBO); SERIALISE_MEMBER(blendState); - SIZE_CHECK(264); + SIZE_CHECK(304); } template @@ -1756,7 +1756,7 @@ void DoSerialise(SerialiserType &ser, GLPipe::State &el) SERIALISE_MEMBER(hints); - SIZE_CHECK(1576); + SIZE_CHECK(1984); } #pragma endregion OpenGL pipeline state @@ -1814,7 +1814,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::DescriptorBinding &el) SERIALISE_MEMBER(binds); - SIZE_CHECK(32); + SIZE_CHECK(40); } template @@ -1826,7 +1826,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::DescriptorSet &el) SERIALISE_MEMBER(bindings); - SIZE_CHECK(40); + SIZE_CHECK(48); } template @@ -1838,7 +1838,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::Pipeline &el) SERIALISE_MEMBER(descriptorSets); - SIZE_CHECK(40); + SIZE_CHECK(48); } template @@ -1897,7 +1897,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::VertexInput &el) SERIALISE_MEMBER(bindings); SERIALISE_MEMBER(vertexBuffers); - SIZE_CHECK(48); + SIZE_CHECK(72); } template @@ -1906,7 +1906,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::SpecializationConstant &el) SERIALISE_MEMBER(specializationId); SERIALISE_MEMBER(data); - SIZE_CHECK(24); + SIZE_CHECK(32); } template @@ -1922,7 +1922,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::Shader &el) SERIALISE_MEMBER(stage); SERIALISE_MEMBER(specialization); - SIZE_CHECK(136); + SIZE_CHECK(192); } template @@ -1971,7 +1971,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::ViewState &el) SERIALISE_MEMBER(discardRectangles); SERIALISE_MEMBER(discardRectanglesExclusive); - SIZE_CHECK(40); + SIZE_CHECK(56); } template @@ -2001,7 +2001,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::SampleLocations &el) SERIALISE_MEMBER(gridHeight); SERIALISE_MEMBER(customLocations); - SIZE_CHECK(24); + SIZE_CHECK(32); } template @@ -2013,7 +2013,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::MultiSample &el) SERIALISE_MEMBER(sampleMask); SERIALISE_MEMBER(sampleLocations); - SIZE_CHECK(40); + SIZE_CHECK(48); } template @@ -2026,7 +2026,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::ColorBlendState &el) SERIALISE_MEMBER(blendFactor); - SIZE_CHECK(40); + SIZE_CHECK(48); } template @@ -2059,7 +2059,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::RenderPass &el) SERIALISE_MEMBER(depthstencilAttachment); SERIALISE_MEMBER(multiviews); - SIZE_CHECK(88); + SIZE_CHECK(120); } template @@ -2088,7 +2088,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::Framebuffer &el) SERIALISE_MEMBER(height); SERIALISE_MEMBER(layers); - SIZE_CHECK(40); + SIZE_CHECK(48); } template @@ -2109,7 +2109,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::CurrentPass &el) SERIALISE_MEMBER(framebuffer); SERIALISE_MEMBER(renderArea); - SIZE_CHECK(144); + SIZE_CHECK(184); } template @@ -2121,7 +2121,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::ImageLayout &el) SERIALISE_MEMBER(numLayer); SERIALISE_MEMBER(name); - SIZE_CHECK(32); + SIZE_CHECK(40); } template @@ -2130,7 +2130,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::ImageData &el) SERIALISE_MEMBER(resourceId); SERIALISE_MEMBER(layouts); - SIZE_CHECK(24); + SIZE_CHECK(32); } template @@ -2175,7 +2175,7 @@ void DoSerialise(SerialiserType &ser, VKPipe::State &el) SERIALISE_MEMBER(conditionalRendering); - SIZE_CHECK(1432); + SIZE_CHECK(1904); } #pragma endregion Vulkan pipeline state