agx: Ensure load_frag_coord has the right sizes
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 23 Apr 2023 21:38:40 +0000 (17:38 -0400)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sun, 7 May 2023 13:10:36 +0000 (09:10 -0400)
commitf4f9269b66184aedba9ffc690c8f24eaa2285edc
tree7196fde63a2a144b9aab060d51d50b980fa446e5
parent7f71e1bc2d5a4e2595c33198b30bd8f4b004248e
agx: Ensure load_frag_coord has the right sizes

In case .x isn't read, it'll be null which has the wrong size and will fail
the validation added later in this series. We fix this by padding with sized
undefs (something that exists of defined size but undefined value) rather than
nothingness (of undefined size).

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22891>
src/asahi/compiler/agx_compile.c