diff options
author | Jason Ekstrand <[email protected]> | 2014-10-16 11:45:44 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-13 13:24:52 -0800 |
commit | 3a5c7e47fdcfb3e322c0756e960cbcf8403e4230 (patch) | |
tree | a81c373f72b12df316e40ce1644394b3c3e01363 /src/glx/glx_pbuffer.c | |
parent | 610c7486c24686429257d63403e275d56d7100b5 (diff) |
i965/fs: Allow constant propagation between different types
This will be needed for NIR because it is typeless and treats all constants
as uint32 values and reinterprets them when they are used later. This
commit allows those values to be properly propagated.
Also, this helps some synmark shaders because it allows us to copy
propagate a 0x00000000UD into a 0.0F in a load_payload, which then lets us
combine 4 load_payloads.
instructions in affected programs: 2288 -> 2144 (-6.29%)
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glx/glx_pbuffer.c')
0 files changed, 0 insertions, 0 deletions