mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
cell: put cell_ prefix on gen_fragment_function()
This commit is contained in:
parent
fbf1586b36
commit
be925ab6e8
3 changed files with 4 additions and 4 deletions
|
|
@ -616,7 +616,7 @@ gen_pack_colors(struct spe_function *f,
|
|||
* \param f the generated function (out)
|
||||
*/
|
||||
void
|
||||
gen_fragment_function(struct cell_context *cell, struct spe_function *f)
|
||||
cell_gen_fragment_function(struct cell_context *cell, struct spe_function *f)
|
||||
{
|
||||
const struct pipe_depth_stencil_alpha_state *dsa =
|
||||
&cell->depth_stencil->base;
|
||||
|
|
@ -850,7 +850,7 @@ gen_fragment_function(struct cell_context *cell, struct spe_function *f)
|
|||
spe_release_register(f, rgba_reg);
|
||||
}
|
||||
|
||||
printf("gen_fragment_ops nr instructions: %u\n", f->num_inst);
|
||||
//printf("gen_fragment_ops nr instructions: %u\n", f->num_inst);
|
||||
|
||||
spe_bi(f, SPE_REG_RA, 0, 0); /* return from function call */
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
|
||||
extern void
|
||||
gen_fragment_function(struct cell_context *cell, struct spe_function *f);
|
||||
cell_gen_fragment_function(struct cell_context *cell, struct spe_function *f);
|
||||
|
||||
|
||||
#endif /* CELL_GEN_FRAGMENT_H */
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ cell_emit_state(struct cell_context *cell)
|
|||
struct spe_function spe_code;
|
||||
|
||||
/* generate new code */
|
||||
gen_fragment_function(cell, &spe_code);
|
||||
cell_gen_fragment_function(cell, &spe_code);
|
||||
/* put the new code into the batch buffer */
|
||||
fops->opcode = CELL_CMD_STATE_FRAGMENT_OPS;
|
||||
memcpy(&fops->code, spe_code.store,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue