Skip to content
Snippets Groups Projects
Commit 34ec1a24 authored by Matt Turner's avatar Matt Turner
Browse files

glsl: Optimize (x + y cmp 0) into (x cmp -y).


Cuts a small handful of instructions in Serious Sam 3:

instructions in affected programs:     4692 -> 4666 (-0.55%)

Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
parent 6499ecaf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment