mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 10:40:22 +01:00
agx: Use 16-bit reg for pixel_coord
Mistake during IR translation, this is 16-bit in NIR. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24847>
This commit is contained in:
parent
58efa64c5c
commit
542a317a12
1 changed files with 2 additions and 2 deletions
|
|
@ -1011,8 +1011,8 @@ agx_emit_intrinsic(agx_builder *b, nir_intrinsic_instr *instr)
|
|||
return agx_emit_collect_to(
|
||||
b, dst, 2,
|
||||
(agx_index[2]){
|
||||
agx_get_sr(b, 32, AGX_SR_THREAD_POSITION_IN_GRID_X),
|
||||
agx_get_sr(b, 32, AGX_SR_THREAD_POSITION_IN_GRID_Y),
|
||||
agx_get_sr(b, 16, AGX_SR_THREAD_POSITION_IN_GRID_X),
|
||||
agx_get_sr(b, 16, AGX_SR_THREAD_POSITION_IN_GRID_Y),
|
||||
});
|
||||
|
||||
case nir_intrinsic_load_frag_coord_zw: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue