Ykkrosh
555deea136
Fix conditional defines to not construct new CShaderDefines frequently
...
CShaderDefines is designed to be efficient to copy and compare, but not
to construct. Conditional defines were constructing new CShaderDefines
for many models every frame.
Precompute all the possible conditional combinations of CShaderDefines
when a material is first loaded, so they can be looked up at no cost
when rendering.
This was SVN commit r13902.
2013-09-29 00:30:58 +00:00
..
2013-09-12 12:40:05 +00:00
2013-05-22 22:04:58 +00:00
2013-06-11 00:05:57 +00:00
2013-09-10 14:17:04 +00:00
2013-07-08 20:25:06 +00:00
2013-08-18 22:17:57 +00:00
2013-08-18 22:17:57 +00:00
2013-09-12 12:40:05 +00:00
2013-09-12 12:40:05 +00:00
2012-10-30 02:03:40 +00:00
2012-10-15 10:34:23 +00:00
2012-08-31 18:33:03 +00:00
2013-03-07 13:49:49 +00:00
2013-05-22 21:40:56 +00:00
2013-08-15 18:25:32 +00:00
2012-10-15 10:34:23 +00:00
2013-09-09 23:31:22 +00:00
2012-10-15 10:34:23 +00:00
2013-09-29 00:30:58 +00:00
2013-09-29 00:30:58 +00:00
2013-09-29 00:30:58 +00:00
2013-08-18 22:17:57 +00:00
2013-08-18 22:17:57 +00:00
2013-07-11 22:53:31 +00:00
2013-07-12 03:32:14 +00:00
2013-07-11 22:53:31 +00:00
2013-07-12 03:46:40 +00:00
2013-07-11 22:53:31 +00:00
2013-03-15 10:22:24 +00:00
2012-09-08 18:56:13 +00:00
2012-09-08 18:56:13 +00:00
2012-10-03 12:40:01 +00:00
2012-10-03 12:40:01 +00:00
2012-10-03 12:40:01 +00:00
2012-09-02 23:07:16 +00:00
2013-07-02 11:44:46 +00:00
2013-06-25 00:57:42 +00:00
2013-03-07 03:54:41 +00:00
2012-08-30 19:24:24 +00:00
2013-05-22 21:40:56 +00:00
2013-05-21 22:11:47 +00:00
2013-02-03 02:08:20 +00:00
2013-07-02 11:44:46 +00:00
2013-07-02 11:44:46 +00:00