projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lima: add support for R and RG formats
[mesa.git]
/
src
/
gallium
/
drivers
/
lima
/
lima_context.h
diff --git
a/src/gallium/drivers/lima/lima_context.h
b/src/gallium/drivers/lima/lima_context.h
index e28617ee7a7ff20ef22b0cede60f677f5d6dba9f..5cda47287c29b043ac78f578239923124de13752 100644
(file)
--- a/
src/gallium/drivers/lima/lima_context.h
+++ b/
src/gallium/drivers/lima/lima_context.h
@@
-44,9
+44,11
@@
struct lima_depth_stencil_alpha_state {
};
struct lima_fs_shader_state {
};
struct lima_fs_shader_state {
+ struct pipe_shader_state base;
void *shader;
int shader_size;
int stack_size;
void *shader;
int shader_size;
int stack_size;
+ uint8_t swizzles[PIPE_MAX_SAMPLERS][4];
bool uses_discard;
struct lima_bo *bo;
};
bool uses_discard;
struct lima_bo *bo;
};