broadcom/compiler: drop spill_count and add spilling boolean
We added spill_count to handle uniform batch spills, which we no longer do. What we want now is a way to know if we are spilling registers. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15041>
This commit is contained in:

committed by
Marge Bot

parent
f3c3228522
commit
8883975209
@@ -789,6 +789,12 @@ struct v3d_compile {
|
||||
uint32_t spill_size;
|
||||
/* Shader-db stats */
|
||||
uint32_t spills, fills, loops;
|
||||
|
||||
/* Whether we are in the process of spilling registers for
|
||||
* register allocation
|
||||
*/
|
||||
bool spilling;
|
||||
|
||||
/**
|
||||
* Register spilling's per-thread base address, shared between each
|
||||
* spill/fill's addressing calculations.
|
||||
@@ -881,9 +887,6 @@ struct v3d_compile {
|
||||
bool emitted_tlb_load;
|
||||
bool lock_scoreboard_on_first_thrsw;
|
||||
|
||||
/* Total number of spilled registers in the program */
|
||||
uint32_t spill_count;
|
||||
|
||||
enum v3d_compilation_result compilation_result;
|
||||
|
||||
bool tmu_dirty_rcl;
|
||||
|
Reference in New Issue
Block a user