projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
softpipe: use any_swizzle() helper in sp_tex_sample.c
[mesa.git]
/
src
/
gallium
/
drivers
/
softpipe
/
sp_screen.h
diff --git
a/src/gallium/drivers/softpipe/sp_screen.h
b/src/gallium/drivers/softpipe/sp_screen.h
index 3d4bfd3e840b9c2909bfa01ca4c3ecde5f318bde..007feecb5de77bf9bcafe05bd396411b261b8822 100644
(file)
--- a/
src/gallium/drivers/softpipe/sp_screen.h
+++ b/
src/gallium/drivers/softpipe/sp_screen.h
@@
-35,19
+35,20
@@
#include "pipe/p_defines.h"
#include "pipe/p_defines.h"
+struct sw_winsys;
struct softpipe_screen {
struct pipe_screen base;
struct softpipe_screen {
struct pipe_screen base;
+ struct sw_winsys *winsys;
+
/* Increments whenever textures are modified. Contexts can track
* this.
*/
/* Increments whenever textures are modified. Contexts can track
* this.
*/
- unsigned timestamp;
+ unsigned timestamp;
+ boolean use_llvm;
};
};
-
-
-
static INLINE struct softpipe_screen *
softpipe_screen( struct pipe_screen *pipe )
{
static INLINE struct softpipe_screen *
softpipe_screen( struct pipe_screen *pipe )
{
@@
-55,4
+56,5
@@
softpipe_screen( struct pipe_screen *pipe )
}
}
+
#endif /* SP_SCREEN_H */
#endif /* SP_SCREEN_H */