pvr: Rename temps_count to pds_temps_count
Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Reviewed-by: Matt Coster <matt.coster@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23356>
This commit is contained in:
@@ -5309,7 +5309,7 @@ pvr_setup_fragment_state_pointers(struct pvr_cmd_buffer *const cmd_buffer,
|
||||
PVRX(TA_STATE_PDS_SIZEINFO1_USC_VARYINGSIZE_UNIT_SIZE));
|
||||
|
||||
const uint32_t pds_temp_size =
|
||||
DIV_ROUND_UP(fragment_state->temps_count,
|
||||
DIV_ROUND_UP(fragment_state->pds_temps_count,
|
||||
PVRX(TA_STATE_PDS_SIZEINFO1_PDS_TEMPSIZE_UNIT_SIZE));
|
||||
|
||||
const uint32_t usc_shared_size =
|
||||
|
@@ -290,9 +290,9 @@ void pvr_hard_code_graphics_get_build_info(
|
||||
|
||||
switch (stage) {
|
||||
case MESA_SHADER_VERTEX:
|
||||
assert(
|
||||
data->graphics.build_infos[pipeline_n]->vert_common_data.temps ==
|
||||
data->graphics.vert_shader_states[pipeline_n]->stage_state.temps_count);
|
||||
assert(data->graphics.build_infos[pipeline_n]->vert_common_data.temps ==
|
||||
data->graphics.vert_shader_states[pipeline_n]
|
||||
->stage_state.pds_temps_count);
|
||||
|
||||
assert(data->graphics.build_infos[pipeline_n]->vert_common_data.coeffs ==
|
||||
data->graphics.vert_shader_states[pipeline_n]
|
||||
@@ -307,9 +307,9 @@ void pvr_hard_code_graphics_get_build_info(
|
||||
break;
|
||||
|
||||
case MESA_SHADER_FRAGMENT:
|
||||
assert(
|
||||
data->graphics.build_infos[pipeline_n]->frag_common_data.temps ==
|
||||
data->graphics.frag_shader_states[pipeline_n]->stage_state.temps_count);
|
||||
assert(data->graphics.build_infos[pipeline_n]->frag_common_data.temps ==
|
||||
data->graphics.frag_shader_states[pipeline_n]
|
||||
->stage_state.pds_temps_count);
|
||||
|
||||
assert(data->graphics.build_infos[pipeline_n]->frag_common_data.coeffs ==
|
||||
data->graphics.frag_shader_states[pipeline_n]
|
||||
|
@@ -1514,7 +1514,7 @@ pvr_vertex_state_init(struct pvr_graphics_pipeline *gfx_pipeline,
|
||||
*/
|
||||
vertex_state->stage_state.const_shared_reg_count = common_data->shareds;
|
||||
vertex_state->stage_state.const_shared_reg_offset = 0;
|
||||
vertex_state->stage_state.temps_count = common_data->temps;
|
||||
vertex_state->stage_state.pds_temps_count = common_data->temps;
|
||||
vertex_state->stage_state.coefficient_size = common_data->coeffs;
|
||||
vertex_state->stage_state.uses_atomic_ops = false;
|
||||
vertex_state->stage_state.uses_texture_rw = false;
|
||||
@@ -1561,7 +1561,7 @@ pvr_fragment_state_init(struct pvr_graphics_pipeline *gfx_pipeline,
|
||||
*/
|
||||
fragment_state->stage_state.const_shared_reg_count = 0;
|
||||
fragment_state->stage_state.const_shared_reg_offset = 0;
|
||||
fragment_state->stage_state.temps_count = common_data->temps;
|
||||
fragment_state->stage_state.pds_temps_count = common_data->temps;
|
||||
fragment_state->stage_state.coefficient_size = common_data->coeffs;
|
||||
fragment_state->stage_state.uses_atomic_ops = false;
|
||||
fragment_state->stage_state.uses_texture_rw = false;
|
||||
|
@@ -848,7 +848,7 @@ struct pvr_pds_attrib_program {
|
||||
struct pvr_pipeline_stage_state {
|
||||
uint32_t const_shared_reg_count;
|
||||
uint32_t const_shared_reg_offset;
|
||||
uint32_t temps_count;
|
||||
uint32_t pds_temps_count;
|
||||
|
||||
uint32_t coefficient_size;
|
||||
|
||||
|
Reference in New Issue
Block a user