diff options
Diffstat (limited to 'src/gallium/drivers/r600/sfn/sfn_value.cpp')
-rw-r--r-- | src/gallium/drivers/r600/sfn/sfn_value.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gallium/drivers/r600/sfn/sfn_value.cpp b/src/gallium/drivers/r600/sfn/sfn_value.cpp index f88760cfc5b..370b7adeae8 100644 --- a/src/gallium/drivers/r600/sfn/sfn_value.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_value.cpp @@ -203,13 +203,8 @@ bool InlineConstValue::is_equal_to(const Value& other) const UniformValue::UniformValue(uint32_t sel, uint32_t chan, uint32_t kcache_bank): Value(Value::kconst, chan) { - if (sel < 512) { - m_index = sel & 0x1f; - m_kcache_bank = ((sel >> 5) & 1) | ((sel >> 7) & 2); - } else { - m_index = sel; - m_kcache_bank = kcache_bank; - } + m_index = sel; + m_kcache_bank = kcache_bank; } UniformValue::UniformValue(uint32_t sel, uint32_t chan, PValue addr): |