agx: Use BITFIELD64_BIT for outputs_written

Fix by inspection.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20563>
This commit is contained in:
Alyssa Rosenzweig
2023-01-07 14:45:59 -05:00
committed by Marge Bot
parent 2976548e4a
commit 7859b531c2

View File

@@ -1999,7 +1999,7 @@ agx_compile_shader_nir(nir_shader *nir, struct agx_shader_key *key,
/* Report a canonical depth layout */
enum gl_frag_depth_layout layout = nir->info.fs.depth_layout;
if (!(nir->info.outputs_written & BITFIELD_BIT(FRAG_RESULT_DEPTH)))
if (!(nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_DEPTH)))
out->depth_layout = FRAG_DEPTH_LAYOUT_UNCHANGED;
else if (layout == FRAG_DEPTH_LAYOUT_NONE)
out->depth_layout = FRAG_DEPTH_LAYOUT_ANY;