summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_constant_expression.cpp
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2013-04-02 17:47:30 +0200
committerRoland Scheidegger <[email protected]>2013-04-02 18:24:31 +0200
commit450950c57ac53d80a1c57f8ef5eb365db300fec2 (patch)
tree08f8bc028697c8fcb5e8224db9ae7fc90b288374 /src/glsl/ir_constant_expression.cpp
parent3febc4a1cdcfc3151195300e3f4ab10e8d46bedf (diff)
gallivm: bring back optimized but incorrect float to smallfloat optimizations
Conceptually the same as previously done in float_to_half. Should cut down number of instructions from 14 to 10 or so, but will promote some NaNs to Infs, so it's disabled. It gets a bit tricky though handling all the cases correctly... Passes basic tests either way (though there are no tests testing special cases, but some manual tests injecting them seemed promising). v2: style and comment fixes suggested by Jose Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/glsl/ir_constant_expression.cpp')
0 files changed, 0 insertions, 0 deletions