diff options
author | José Fonseca <[email protected]> | 2010-04-09 16:56:18 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-04-09 16:56:18 +0100 |
commit | c2e87d7f07ca17f2c1da026ca9b378d3e31f1913 (patch) | |
tree | 6a842bef0fec36986de69edc2b05095bdc1dbdb7 /src/gallium/auxiliary/util | |
parent | 142fb27c3b4c530174968c5f84fd1bd787b8e3de (diff) |
util: Fix typo in earlier commit.
Diffstat (limited to 'src/gallium/auxiliary/util')
-rw-r--r-- | src/gallium/auxiliary/util/u_format_pack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_format_pack.py b/src/gallium/auxiliary/util/u_format_pack.py index a6070934f04..0c1bbc84c17 100644 --- a/src/gallium/auxiliary/util/u_format_pack.py +++ b/src/gallium/auxiliary/util/u_format_pack.py @@ -303,7 +303,7 @@ def conversion_expr(src_channel, # Done before clamping since these functions already take care of that if src_type == UNSIGNED and src_norm and src_size == 8 and dst_channel.type == FLOAT and dst_channel.size == 32: return 'ubyte_to_float(%s)' % value - if src_type == FLOAT and src_type == 32 and dst_channel.type == UNSIGNED and dst_channel.norm and dst_channel.size == 8: + if src_type == FLOAT and src_size == 32 and dst_channel.type == UNSIGNED and dst_channel.norm and dst_channel.size == 8: return 'float_to_ubyte(%s)' % value if clamp: |