mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
gpu: re-align coverUniforms struct
Direct3D requires GPU vertex attribute structs sizes be a multiple 16. A cleanup commit removed an unusued field, and broke that assumption. Fixes: https://todo.sr.ht/~eliasnaur/gio/422 Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -58,6 +58,7 @@ type coverUniforms struct {
|
||||
uvCoverTransform [4]float32
|
||||
uvTransformR1 [4]float32
|
||||
uvTransformR2 [4]float32
|
||||
_ float32
|
||||
}
|
||||
|
||||
type stenciler struct {
|
||||
|
||||
Reference in New Issue
Block a user