projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium/radeon: eliminate fast color clear before sharing
[mesa.git]
/
src
/
gallium
/
drivers
/
radeonsi
/
si_pm4.c
diff --git
a/src/gallium/drivers/radeonsi/si_pm4.c
b/src/gallium/drivers/radeonsi/si_pm4.c
index c4ef2e78c50a8bc666ad7ecb71bbca83550dc586..c3032fc45b547594d8a9905bbe5df9529c8bf812 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_pm4.c
+++ b/
src/gallium/drivers/radeonsi/si_pm4.c
@@
-115,7
+115,7
@@
void si_pm4_free_state(struct si_context *sctx,
struct si_pm4_state *state,
unsigned idx)
{
- if (
state == NULL
)
+ if (
!state
)
return;
if (idx != ~0 && sctx->emitted.array[idx] == state) {