projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
freedreno: Use explicit *_NONE enum for undefined formats
[mesa.git]
/
src
/
gallium
/
drivers
/
freedreno
/
a3xx
/
fd3_resource.c
diff --git
a/src/gallium/drivers/freedreno/a3xx/fd3_resource.c
b/src/gallium/drivers/freedreno/a3xx/fd3_resource.c
index 0a58c16abc6d04d676253d3ca53cf71b37e89025..49a7e0babec06f93c54876a1772294ea5abf35c8 100644
(file)
--- a/
src/gallium/drivers/freedreno/a3xx/fd3_resource.c
+++ b/
src/gallium/drivers/freedreno/a3xx/fd3_resource.c
@@
-116,7
+116,7
@@
ok_format(enum pipe_format pfmt)
{
enum a3xx_color_fmt fmt = fd3_pipe2color(pfmt);
- if (fmt ==
~0
)
+ if (fmt ==
RB_NONE
)
return false;
switch (pfmt) {