projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
freedreno/a3xx: add debug callback to emit
[mesa.git]
/
src
/
gallium
/
drivers
/
freedreno
/
a3xx
/
fd3_texture.h
diff --git
a/src/gallium/drivers/freedreno/a3xx/fd3_texture.h
b/src/gallium/drivers/freedreno/a3xx/fd3_texture.h
index f7e5f0e650fab6bd6041a4d0f5ced9abfe3f9091..d5afb03cd7a41cf635708abaa7cec93312411877 100644
(file)
--- a/
src/gallium/drivers/freedreno/a3xx/fd3_texture.h
+++ b/
src/gallium/drivers/freedreno/a3xx/fd3_texture.h
@@
-35,14
+35,15
@@
#include "freedreno_resource.h"
#include "fd3_context.h"
#include "freedreno_resource.h"
#include "fd3_context.h"
-#include "fd3_
util
.h"
+#include "fd3_
format
.h"
struct fd3_sampler_stateobj {
struct pipe_sampler_state base;
uint32_t texsamp0, texsamp1;
struct fd3_sampler_stateobj {
struct pipe_sampler_state base;
uint32_t texsamp0, texsamp1;
+ bool saturate_s, saturate_t, saturate_r;
};
};
-static
INLINE
struct fd3_sampler_stateobj *
+static
inline
struct fd3_sampler_stateobj *
fd3_sampler_stateobj(struct pipe_sampler_state *samp)
{
return (struct fd3_sampler_stateobj *)samp;
fd3_sampler_stateobj(struct pipe_sampler_state *samp)
{
return (struct fd3_sampler_stateobj *)samp;
@@
-50,12
+51,10
@@
fd3_sampler_stateobj(struct pipe_sampler_state *samp)
struct fd3_pipe_sampler_view {
struct pipe_sampler_view base;
struct fd3_pipe_sampler_view {
struct pipe_sampler_view base;
- struct fd_resource *tex_resource;
- uint32_t mipaddrs;
uint32_t texconst0, texconst1, texconst2, texconst3;
};
uint32_t texconst0, texconst1, texconst2, texconst3;
};
-static
INLINE
struct fd3_pipe_sampler_view *
+static
inline
struct fd3_pipe_sampler_view *
fd3_pipe_sampler_view(struct pipe_sampler_view *pview)
{
return (struct fd3_pipe_sampler_view *)pview;
fd3_pipe_sampler_view(struct pipe_sampler_view *pview)
{
return (struct fd3_pipe_sampler_view *)pview;