Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mesa
mesa
Commits
36138bb7
Commit
36138bb7
authored
Feb 15, 2019
by
Rafael Antognolli
Committed by
Kenneth Graunke
Feb 21, 2019
Browse files
iris/clear: Pass on render_condition_enabled.
parent
8190165d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/gallium/drivers/iris/iris_clear.c
View file @
36138bb7
...
@@ -299,7 +299,8 @@ iris_clear_render_target(struct pipe_context *ctx,
...
@@ -299,7 +299,8 @@ iris_clear_render_target(struct pipe_context *ctx,
/* pipe_color_union and isl_color_value are interchangeable */
/* pipe_color_union and isl_color_value are interchangeable */
union
isl_color_value
*
color
=
(
void
*
)
p_color
;
union
isl_color_value
*
color
=
(
void
*
)
p_color
;
clear_color
(
ice
,
psurf
->
texture
,
psurf
->
u
.
tex
.
level
,
&
box
,
true
,
clear_color
(
ice
,
psurf
->
texture
,
psurf
->
u
.
tex
.
level
,
&
box
,
render_condition_enabled
,
isurf
->
view
.
format
,
*
color
);
isurf
->
view
.
format
,
*
color
);
}
}
...
@@ -330,7 +331,8 @@ iris_clear_depth_stencil(struct pipe_context *ctx,
...
@@ -330,7 +331,8 @@ iris_clear_depth_stencil(struct pipe_context *ctx,
assert
(
util_format_is_depth_or_stencil
(
psurf
->
texture
->
format
));
assert
(
util_format_is_depth_or_stencil
(
psurf
->
texture
->
format
));
clear_depth_stencil
(
ice
,
psurf
->
texture
,
psurf
->
u
.
tex
.
level
,
&
box
,
true
,
clear_depth_stencil
(
ice
,
psurf
->
texture
,
psurf
->
u
.
tex
.
level
,
&
box
,
render_condition_enabled
,
flags
&
PIPE_CLEAR_DEPTH
,
flags
&
PIPE_CLEAR_STENCIL
,
flags
&
PIPE_CLEAR_DEPTH
,
flags
&
PIPE_CLEAR_STENCIL
,
depth
,
stencil
);
depth
,
stencil
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment