mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 08:58:02 +02:00
llvmpipe: added llvmpipe_texture_const()
This commit is contained in:
parent
ddb94661a4
commit
9be1feacf2
1 changed files with 7 additions and 0 deletions
|
|
@ -73,6 +73,13 @@ llvmpipe_texture(struct pipe_texture *pt)
|
|||
return (struct llvmpipe_texture *) pt;
|
||||
}
|
||||
|
||||
static INLINE const struct llvmpipe_texture *
|
||||
llvmpipe_texture_const(const struct pipe_texture *pt)
|
||||
{
|
||||
return (const struct llvmpipe_texture *) pt;
|
||||
}
|
||||
|
||||
|
||||
static INLINE struct llvmpipe_transfer *
|
||||
llvmpipe_transfer(struct pipe_transfer *pt)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue