projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
freedreno/a3xx+a4xx: fix for stk binning pass hang
[mesa.git]
/
src
/
gallium
/
drivers
/
freedreno
/
a3xx
/
fd3_blend.h
diff --git
a/src/gallium/drivers/freedreno/a3xx/fd3_blend.h
b/src/gallium/drivers/freedreno/a3xx/fd3_blend.h
index 4f6eeb74481bd126cce1004972dd9dc109fca85c..59e0010372d4037e4822526e2185bcc7912f49b1 100644
(file)
--- a/
src/gallium/drivers/freedreno/a3xx/fd3_blend.h
+++ b/
src/gallium/drivers/freedreno/a3xx/fd3_blend.h
@@
-32,8
+32,11
@@
#include "pipe/p_state.h"
#include "pipe/p_context.h"
#include "pipe/p_state.h"
#include "pipe/p_context.h"
+#include "freedreno_util.h"
+
struct fd3_blend_stateobj {
struct pipe_blend_state base;
struct fd3_blend_stateobj {
struct pipe_blend_state base;
+ uint32_t rb_render_control;
struct {
/* Blend control bits for color if there is an alpha channel */
uint32_t blend_control_rgb;
struct {
/* Blend control bits for color if there is an alpha channel */
uint32_t blend_control_rgb;
@@
-42,10
+45,10
@@
struct fd3_blend_stateobj {
/* Blend control bits for alpha channel */
uint32_t blend_control_alpha;
uint32_t control;
/* Blend control bits for alpha channel */
uint32_t blend_control_alpha;
uint32_t control;
- } rb_mrt[
4
];
+ } rb_mrt[
A3XX_MAX_RENDER_TARGETS
];
};
};
-static
INLINE
struct fd3_blend_stateobj *
+static
inline
struct fd3_blend_stateobj *
fd3_blend_stateobj(struct pipe_blend_state *blend)
{
return (struct fd3_blend_stateobj *)blend;
fd3_blend_stateobj(struct pipe_blend_state *blend)
{
return (struct fd3_blend_stateobj *)blend;