projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17f05e5
)
mesa/st: move st_pipe_format_to_mesa_format() call to where its used
author
Timothy Arceri
<tarceri@itsqueeze.com>
Thu, 20 Jul 2017 00:04:40 +0000
(10:04 +1000)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 26 Jul 2017 00:39:52 +0000
(10:39 +1000)
Reviewed-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_format.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_format.c
b/src/mesa/state_tracker/st_format.c
index 012f1a40151f9082e723941536581f6d1c256b77..64a3a8127917393ebda5d4fce03bc90b910901eb 100644
(file)
--- a/
src/mesa/state_tracker/st_format.c
+++ b/
src/mesa/state_tracker/st_format.c
@@
-1035,12
+1035,11
@@
test_format_conversion(struct st_context *st)
/* Test all Gallium formats */
for (i = 1; i < PIPE_FORMAT_COUNT; i++) {
- mesa_format mf = st_pipe_format_to_mesa_format(i);
-
/* ETC formats are translated differently, skip them. */
if (i == PIPE_FORMAT_ETC1_RGB8 && !st->has_etc1)
continue;
+ mesa_format mf = st_pipe_format_to_mesa_format(i);
if (_mesa_is_format_etc2(mf) && !st->has_etc2)
continue;