projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '7.8'
[mesa.git]
/
src
/
gallium
/
state_trackers
/
vega
/
st_inlines.h
diff --git
a/src/gallium/state_trackers/vega/st_inlines.h
b/src/gallium/state_trackers/vega/st_inlines.h
index 419151c3aee59eecfb228ab1eabaf32ceb172a0b..4d12a4efdd627f35eed9f6298d07392f12f83d2c 100644
(file)
--- a/
src/gallium/state_trackers/vega/st_inlines.h
+++ b/
src/gallium/state_trackers/vega/st_inlines.h
@@
-51,7
+51,6
@@
st_cond_flush_get_tex_transfer(struct vg_context *st,
unsigned int x, unsigned int y,
unsigned int w, unsigned int h)
{
unsigned int x, unsigned int y,
unsigned int w, unsigned int h)
{
- struct pipe_screen *screen = st->pipe->screen;
struct pipe_context *pipe = st->pipe;
unsigned referenced =
pipe->is_texture_referenced(pipe, pt, face, level);
struct pipe_context *pipe = st->pipe;
unsigned referenced =
pipe->is_texture_referenced(pipe, pt, face, level);
@@
-60,7
+59,7
@@
st_cond_flush_get_tex_transfer(struct vg_context *st,
(usage & PIPE_TRANSFER_WRITE)))
vgFlush();
(usage & PIPE_TRANSFER_WRITE)))
vgFlush();
- return
screen->get_tex_transfer(screen
, pt, face, level, zslice, usage,
+ return
pipe->get_tex_transfer(pipe
, pt, face, level, zslice, usage,
x, y, w, h);
}
x, y, w, h);
}
@@
-74,10
+73,10
@@
st_no_flush_get_tex_transfer(struct vg_context *st,
unsigned int x, unsigned int y,
unsigned int w, unsigned int h)
{
unsigned int x, unsigned int y,
unsigned int w, unsigned int h)
{
- struct pipe_
screen *screen = st->pipe->screen
;
+ struct pipe_
context *pipe = st->pipe
;
- return
screen->get_tex_transfer(screen
, pt, face, level,
-
zslice, usage, x, y, w, h);
+ return
pipe->get_tex_transfer(pipe
, pt, face, level,
+ zslice, usage, x, y, w, h);
}
static INLINE void *
}
static INLINE void *