projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebe2b54
)
r300g: remove unnecessary breaks
author
Marek Olšák
<maraeo@gmail.com>
Fri, 28 May 2010 00:57:32 +0000
(
02:57
+0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 28 May 2010 01:30:11 +0000
(
03:30
+0200)
src/gallium/drivers/r300/r300_state_inlines.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_state_inlines.h
b/src/gallium/drivers/r300/r300_state_inlines.h
index d1806dab12735c6f290e41ff09ef53e41cd635c7..03ec127ff79c1b467a25bcbe0f7704806429ee13 100644
(file)
--- a/
src/gallium/drivers/r300/r300_state_inlines.h
+++ b/
src/gallium/drivers/r300/r300_state_inlines.h
@@
-348,20
+348,17
@@
static INLINE uint32_t r300_translate_gb_pipes(int pipe_count)
switch (pipe_count) {
case 1:
return R300_GB_TILE_PIPE_COUNT_RV300;
- break;
case 2:
return R300_GB_TILE_PIPE_COUNT_R300;
- break;
case 3:
return R300_GB_TILE_PIPE_COUNT_R420_3P;
- break;
case 4:
return R300_GB_TILE_PIPE_COUNT_R420;
- break;
}
return 0;
}
+
/* Translate pipe_formats into PSC vertex types. */
static INLINE uint16_t
r300_translate_vertex_data_type(enum pipe_format format) {