[IGraphic] Issue with union
While debugging inside The-Forge for understanding why it cannot find the right device queue I found the following issue:
https://github.com/ConfettiFX/The-Forge/blob/a00d6d301b9fd01a1edc99f7c4e38996ce1bee0b/Common_3/Graphics/Interfaces/IGraphics.h#L2635-L2641
This code does an union on the 3 uint not with the array as I'm pretty sure is expected.
Should be as follow:
union {
struct {
uint8_t mGraphicsQueueFamilyIndex;
uint8_t mTransferQueueFamilyIndex;
uint8_t mComputeQueueFamilyIndex;
};
uint8_t mQueueFamilyIndices[3];
};
Therefore the 3 uint are united to the array. Hope this helps. I'm still trying to figure out since I've update from 1.58 to new FSL2 & up to 1.63 why nothing runs anymore.
EDIT: I just checked the diff with 1.58 revision and it was actually good beforehand 🤔 https://github.com/ConfettiFX/The-Forge/blob/c1665696d509bc9faed5432ccd14d1ff25975b66/Common_3/Graphics/Interfaces/IGraphics.h#L3028-L3037
Additionally, could you please add me back to the new discord server 🙏 I know it is recent, private and selection. I've been accepted and then ejected after trying to get understanding & help on my issue. I would be really grateful if you could add me back and help each others around 🙌