cell: added const qualifier

This commit is contained in:
Brian
2008-03-31 16:54:31 -06:00
parent 58b6690cf8
commit 84c2821d2a
2 changed files with 5 additions and 3 deletions
@@ -1167,7 +1167,8 @@ int PC_OFFSET(const struct spe_function *f, const void *d)
* Only two framebuffer formats are supported at this time.
*/
void
cell_generate_logic_op(struct spe_function *f, struct pipe_blend_state *blend,
cell_generate_logic_op(struct spe_function *f,
const struct pipe_blend_state *blend,
struct pipe_surface *surf)
{
const unsigned logic_op = (blend->logicop_enable)
@@ -32,7 +32,8 @@ extern void
cell_generate_alpha_blend(struct cell_blend_state *cb);
extern void
cell_generate_logic_op(struct spe_function *f, struct pipe_blend_state *blend,
struct pipe_surface *surf);
cell_generate_logic_op(struct spe_function *f,
const struct pipe_blend_state *blend,
struct pipe_surface *surf);
#endif /* CELL_STATE_PER_FRAGMENT_H */