summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-12-08 19:58:13 +0100
committerMichal Krol <[email protected]>2009-12-08 19:58:13 +0100
commit876a785a182d7987786377ff0a44ee40628254f3 (patch)
treea657acb85a10fec64333c7850935de21b3fc696c /src/gallium/drivers/r300
parentddbd2d08b7c5b5653981db8fec58d5c3244049cd (diff)
Format layout cannot be used to distinguish scaled/normalised formats.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_state_inlines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_state_inlines.h b/src/gallium/drivers/r300/r300_state_inlines.h
index 5c58655da1a..7cd1f87630e 100644
--- a/src/gallium/drivers/r300/r300_state_inlines.h
+++ b/src/gallium/drivers/r300/r300_state_inlines.h
@@ -528,7 +528,7 @@ r300_translate_vertex_data_type(enum pipe_format format) {
if (desc->type == UTIL_FORMAT_TYPE_SIGNED) {
result |= R300_SIGNED;
}
- if (desc->layout == UTIL_FORMAT_LAYOUT_ARITH) {
+ if (desc->channel[0].normalized) {
result |= R300_NORMALIZE;
}