SWR compiler warnings `clearing an object of type 'struct ' with no trivial copy-assignment; use assignment or value-initialization instead`
For example the memset in:
INLINE
static void AllocateTessellationData(SWR_CONTEXT* pContext)
{
/// @TODO - Don't use thread local storage. Use Worker local storage instead.
if (gt_pTessellationThreadData == nullptr)
{
gt_pTessellationThreadData =
(TessellationThreadLocalData*)AlignedMalloc(sizeof(TessellationThreadLocalData), 64);
memset(gt_pTessellationThreadData, 0, sizeof(*gt_pTessellationThreadData));
}
}
This is blocking enabling -Werror in CI for the meson-gallium
job.
Edited by Timothy Arceri