aboutsummaryrefslogtreecommitdiffstats
path: root/src/SConscript
diff options
context:
space:
mode:
authorAlejandro PiƱeiro <[email protected]>2015-09-01 17:02:20 +0200
committerIago Toral Quiroga <[email protected]>2015-09-02 09:59:47 +0200
commit4de86e1371b0d59a5b9a787b726be3d373024647 (patch)
treee4020abe2db42375df263de77b9184826381c881 /src/SConscript
parentd2cab815b451d2ddc29cb332f96e79cdec25443d (diff)
i965/vec4: fill src_reg type using the constructor type parameter
The src_reg constructor that received the glsl_type was using it only to build the swizzle, but not to fill this->type as dst_reg is doing. This caused some type mismatch between movs and alu operations on the NIR path, so copy propagation optimization was not applied to remove unneeded movs if negate modifier was involved. This was first detected on minus (negate+add) operations. Shader DB results (taking into account only vec4): total instructions in shared programs: 20019 -> 19934 (-0.42%) instructions in affected programs: 2918 -> 2833 (-2.91%) helped: 79 HURT: 0 GAINED: 0 LOST: 0 Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/SConscript')
0 files changed, 0 insertions, 0 deletions