pvr: Fix typo in PDS function name
Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21589>
This commit is contained in:
@@ -1119,7 +1119,7 @@ pvr_pds_vertex_shader(struct pvr_pds_vertex_shader_program *restrict program,
|
||||
if (shift < -31) {
|
||||
/* >> (31) */
|
||||
shift_2s_comp = 0xFFFE1;
|
||||
*buffer++ = pvr_pds_inst_encode_stflp64(
|
||||
*buffer++ = pvr_pds_inst_encode_sftlp64(
|
||||
/* cc */ 0,
|
||||
/* LOP */ PVR_ROGUE_PDSINST_LOP_NONE,
|
||||
/* IM */ 1, /* enable immediate */
|
||||
@@ -1136,7 +1136,7 @@ pvr_pds_vertex_shader(struct pvr_pds_vertex_shader_program *restrict program,
|
||||
* new: >> (shift + 31)
|
||||
*/
|
||||
shift_2s_comp = *((uint32_t *)&shift);
|
||||
*buffer++ = pvr_pds_inst_encode_stflp64(
|
||||
*buffer++ = pvr_pds_inst_encode_sftlp64(
|
||||
/* cc */ 0,
|
||||
/* LOP */ PVR_ROGUE_PDSINST_LOP_NONE,
|
||||
/* IM */ 1, /*enable immediate */
|
||||
@@ -1168,7 +1168,7 @@ pvr_pds_vertex_shader(struct pvr_pds_vertex_shader_program *restrict program,
|
||||
/* 2's complement of shift as this will be a right shift. */
|
||||
shift_2s_comp = ~(vertex_stream->shift) + 1;
|
||||
|
||||
*buffer++ = pvr_pds_inst_encode_stflp32(
|
||||
*buffer++ = pvr_pds_inst_encode_sftlp32(
|
||||
/* IM */ 1, /* enable immediate. */
|
||||
/* cc */ 0,
|
||||
/* LOP */ PVR_ROGUE_PDSINST_LOP_NONE,
|
||||
@@ -1257,7 +1257,7 @@ pvr_pds_vertex_shader(struct pvr_pds_vertex_shader_program *restrict program,
|
||||
}
|
||||
|
||||
if (temp != pre_index_temp) {
|
||||
*buffer++ = pvr_pds_inst_encode_stflp32(
|
||||
*buffer++ = pvr_pds_inst_encode_sftlp32(
|
||||
/* IM */ 1, /* enable immediate. */
|
||||
/* cc */ 0,
|
||||
/* LOP */ PVR_ROGUE_PDSINST_LOP_NONE,
|
||||
@@ -1267,7 +1267,7 @@ pvr_pds_vertex_shader(struct pvr_pds_vertex_shader_program *restrict program,
|
||||
/* DST */ index_temp64);
|
||||
}
|
||||
|
||||
*buffer++ = pvr_pds_inst_encode_stflp32(
|
||||
*buffer++ = pvr_pds_inst_encode_sftlp32(
|
||||
/* IM */ 1, /* enable immediate. */
|
||||
/* cc */ 0,
|
||||
/* LOP */ PVR_ROGUE_PDSINST_LOP_OR,
|
||||
@@ -2276,7 +2276,7 @@ pvr_pds_compute_shader(struct pvr_pds_compute_shader_program *restrict program,
|
||||
APPEND(pvr_pds_inst_encode_wdf(0));
|
||||
|
||||
for (uint32_t i = 0; i < 4; i++) {
|
||||
APPEND(pvr_pds_inst_encode_stflp32(
|
||||
APPEND(pvr_pds_inst_encode_sftlp32(
|
||||
1, /* enable immediate */
|
||||
0, /* cc */
|
||||
PVR_ROGUE_PDSINST_LOP_AND, /* LOP */
|
||||
@@ -2286,7 +2286,7 @@ pvr_pds_compute_shader(struct pvr_pds_compute_shader_program *restrict program,
|
||||
cond_render_pred_temp + i)); /* DST */
|
||||
|
||||
APPEND(
|
||||
pvr_pds_inst_encode_stflp32(1, /* enable immediate */
|
||||
pvr_pds_inst_encode_sftlp32(1, /* enable immediate */
|
||||
0, /* cc */
|
||||
PVR_ROGUE_PDSINST_LOP_OR, /* LOP
|
||||
*/
|
||||
@@ -2303,7 +2303,7 @@ pvr_pds_compute_shader(struct pvr_pds_compute_shader_program *restrict program,
|
||||
0, /* SRC0 */
|
||||
0)); /* GLOBALREG */
|
||||
|
||||
APPEND(pvr_pds_inst_encode_stflp32(1, /* enable immediate */
|
||||
APPEND(pvr_pds_inst_encode_sftlp32(1, /* enable immediate */
|
||||
0, /* cc */
|
||||
PVR_ROGUE_PDSINST_LOP_XOR, /* LOP
|
||||
*/
|
||||
|
||||
@@ -686,7 +686,7 @@ void pvr_pds_generate_vertex_primary_program(
|
||||
|
||||
PVR_PDS_MODE_TOGGLE(code,
|
||||
instruction,
|
||||
pvr_pds_inst_encode_stflp64(
|
||||
pvr_pds_inst_encode_sftlp64(
|
||||
0, /* cc */
|
||||
PVR_ROGUE_PDSINST_LOP_XOR, /* LOP */
|
||||
1, /* IM */
|
||||
@@ -699,7 +699,7 @@ void pvr_pds_generate_vertex_primary_program(
|
||||
));
|
||||
PVR_PDS_MODE_TOGGLE(code,
|
||||
instruction,
|
||||
pvr_pds_inst_encode_stflp64(
|
||||
pvr_pds_inst_encode_sftlp64(
|
||||
0, /* cc */
|
||||
PVR_ROGUE_PDSINST_LOP_NONE, /* LOP */
|
||||
1, /* IM */
|
||||
@@ -712,7 +712,7 @@ void pvr_pds_generate_vertex_primary_program(
|
||||
));
|
||||
PVR_PDS_MODE_TOGGLE(code,
|
||||
instruction,
|
||||
pvr_pds_inst_encode_stflp64(
|
||||
pvr_pds_inst_encode_sftlp64(
|
||||
0, /* cc */
|
||||
PVR_ROGUE_PDSINST_LOP_NONE, /* LOP */
|
||||
1, /* IM */
|
||||
@@ -885,7 +885,7 @@ void pvr_pds_generate_vertex_primary_program(
|
||||
shift_2s_comp = 0xFFFE1;
|
||||
PVR_PDS_MODE_TOGGLE(code,
|
||||
instruction,
|
||||
pvr_pds_inst_encode_stflp64(
|
||||
pvr_pds_inst_encode_sftlp64(
|
||||
/* cc */ 0,
|
||||
/* LOP */ PVR_ROGUE_PDSINST_LOP_NONE,
|
||||
/* IM */ 1, /* enable immediate */
|
||||
@@ -902,7 +902,7 @@ void pvr_pds_generate_vertex_primary_program(
|
||||
shift_2s_comp = *((uint32_t *)&shift);
|
||||
PVR_PDS_MODE_TOGGLE(code,
|
||||
instruction,
|
||||
pvr_pds_inst_encode_stflp64(
|
||||
pvr_pds_inst_encode_sftlp64(
|
||||
/* cc */ 0,
|
||||
/* LOP */ PVR_ROGUE_PDSINST_LOP_NONE,
|
||||
/* IM */ 1, /* enable immediate */
|
||||
@@ -1235,7 +1235,7 @@ void pvr_pds_generate_vertex_primary_program(
|
||||
|
||||
PVR_PDS_MODE_TOGGLE(code,
|
||||
instruction,
|
||||
pvr_pds_inst_encode_stflp32(
|
||||
pvr_pds_inst_encode_sftlp32(
|
||||
1, /* IM */
|
||||
0, /* cc */
|
||||
PVR_ROGUE_PDSINST_LOP_NONE, /* LOP */
|
||||
@@ -1261,7 +1261,7 @@ void pvr_pds_generate_vertex_primary_program(
|
||||
|
||||
PVR_PDS_MODE_TOGGLE(code,
|
||||
instruction,
|
||||
pvr_pds_inst_encode_stflp32(
|
||||
pvr_pds_inst_encode_sftlp32(
|
||||
1, /* IM */
|
||||
1, /* cc */
|
||||
PVR_ROGUE_PDSINST_LOP_NONE, /* LOP */
|
||||
|
||||
@@ -60,7 +60,7 @@ pvr_pds_inst_decode_field_range_regs32(uint32_t value)
|
||||
return 3;
|
||||
}
|
||||
|
||||
static ALWAYS_INLINE uint32_t pvr_pds_inst_encode_stflp64(uint32_t cc,
|
||||
static ALWAYS_INLINE uint32_t pvr_pds_inst_encode_sftlp64(uint32_t cc,
|
||||
uint32_t lop,
|
||||
uint32_t im,
|
||||
uint32_t src0,
|
||||
@@ -112,7 +112,7 @@ pvr_pds_inst_decode_field_range_regs32tp(uint32_t value)
|
||||
return 2;
|
||||
}
|
||||
|
||||
static ALWAYS_INLINE uint32_t pvr_pds_inst_encode_stflp32(uint32_t im,
|
||||
static ALWAYS_INLINE uint32_t pvr_pds_inst_encode_sftlp32(uint32_t im,
|
||||
uint32_t cc,
|
||||
uint32_t lop,
|
||||
uint32_t src0,
|
||||
|
||||
Reference in New Issue
Block a user