summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir
diff options
context:
space:
mode:
authorAlejandro PiƱeiro <[email protected]>2015-09-11 12:21:13 +0200
committerEduardo Lima Mitev <[email protected]>2015-09-11 17:43:22 +0200
commitd4e29af2344c06490913efc35430f93a966061bb (patch)
tree138aea6b2927aebbf1a37b4d4e987aeb89d5ddbf /src/glsl/nir
parent2c52c794d727e535c1baca671a7c1e5b38dffb00 (diff)
i965/vec4: check writemask when bailing out at register coalesce
opt_register_coalesce stopped to check previous instructions to coalesce with if somebody else was writing on the same destination. This can be optimized to check if somebody else was writing to the same channels of the same destination using the writemask. Shader DB results (taking into account only vec4): total instructions in shared programs: 1781593 -> 1734957 (-2.62%) instructions in affected programs: 1238390 -> 1191754 (-3.77%) helped: 12782 HURT: 0 GAINED: 0 LOST: 0 v2: removed some parenthesis, fixed indentation, as suggested by Matt Turner v3: added brackets, for consistency, as suggested by Eduardo Lima Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/nir')
0 files changed, 0 insertions, 0 deletions