cell: added const qualifier
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user