diff options
author | Matt Turner <[email protected]> | 2015-11-02 10:29:45 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-11-19 11:12:24 -0800 |
commit | c15a407eb49d3b26bdbf039816636adb184c276a (patch) | |
tree | b6a2593c167e1f2c68993426b359936286f05001 /docs/relnotes/8.0.4.html | |
parent | e8c5ef3ecaafae0ad6c300019c489401a9af714c (diff) |
i965: Make brw_imm_vf4() take 8-bit restricted floats.
This partially reverts commit bbf8239f92ecd79431dfa41402e1c85318e7267f.
I didn't like that commit to begin with -- computing things at compile
time is fine -- but for purposes of verifying that the resulting values
are correct, looking up 0x00 and 0x30 in a table is a lot better than
evaluating a recursive function.
Anyway, by making brw_imm_vf4() take the actual 8-bit restricted floats
directly (instead of only integral values that would be converted to
restricted float), we can use this function as a replacement for the
vector float src_reg/fs_reg constructors.
brw_float_to_vf() is not currently an inline function, so it will not be
evaluated at compile time. I'll address that in a follow-up patch.
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'docs/relnotes/8.0.4.html')
0 files changed, 0 insertions, 0 deletions