WIP: lima/ppir: allocate separate dynamic bo for spill stack
The previous spill stack was incorrect and caused instability in
programs requiring spilling for roughly more than one value.
This patch switches to a dynamic calculation of the buffer size based on
stack utilization and switches it to a separate bo in the shader state
as it can no longer be static and needs to be readable/writable.
Signed-off-by:
Erico Nunes <nunes.erico@gmail.com>
Showing
- src/gallium/drivers/lima/lima_context.h 5 additions, 1 deletionsrc/gallium/drivers/lima/lima_context.h
- src/gallium/drivers/lima/lima_draw.c 13 additions, 5 deletionssrc/gallium/drivers/lima/lima_draw.c
- src/gallium/drivers/lima/lima_program.c 19 additions, 0 deletionssrc/gallium/drivers/lima/lima_program.c
- src/gallium/drivers/lima/lima_screen.h 1 addition, 5 deletionssrc/gallium/drivers/lima/lima_screen.h
Loading