You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sampleMask is correctly defined as a slice. This function is unusual because the size of the slice is encoded in a bitfield, rather than directly provided.
The pointer being provided to the trampoline is a direct assignment of the slice, rather than the address first element.
Currently generated code:
var pSampleMask *SampleMask
if sampleMask != nil {
pSampleMask = sampleMask
}
Expected output:
var pSampleMask *SampleMask
if sampleMask != nil {
pSampleMask = &sampleMask[0]
}
The text was updated successfully, but these errors were encountered:
Signature:
func CmdSetSampleMaskEXT(commandBuffer CommandBuffer, samples SampleCountFlagBits, sampleMask []SampleMask)
sampleMask
is correctly defined as a slice. This function is unusual because the size of the slice is encoded in a bitfield, rather than directly provided.The pointer being provided to the trampoline is a direct assignment of the slice, rather than the address first element.
Currently generated code:
Expected output:
The text was updated successfully, but these errors were encountered: