commit | 1820ef64c9914d8328d0306003f00063dfb2bca1 | [log] [tgz] |
---|---|---|
author | Neha Bhende <bhenden@vmware.com> | Thu Jul 20 17:03:19 2017 -0700 |
committer | Brian Paul <brianp@vmware.com> | Sat Jul 22 13:18:56 2017 -0600 |
tree | 6cbeb4c34e6f9cae56eb0314bfdfffadf9c8f62a | |
parent | 83ca6b9d31005a11380f9dbd1b5531294f5c3e92 [diff] |
svga: Limit number of immediates in shader imm {128.0, -128.0, 2.0, 3.0} is used for lit instruction which is not used very frequently. So allocate it only if lit instruction is used. Tested with mtt piglit and mtt glretrace v2: As per Charmaine's comment Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Charmaine Lee <charmainel@vmware.com>