Sergey Lipskiy
955c2f3b17
Add isHWLSupported bit to CombinerKey.
...
A game may use several microcodes, where some microcodes support HW lighting and others are not.
The same combiner can be used for both cases. isHWLSupported bit helps to resolve that problem.
2020-12-28 16:18:18 +07:00
Sergey Lipskiy
5604bb94fa
Code refactor: CombinerProgram()::getKey() returns reference instead of object
...
to avoid copy of the key to temp object when combiner added to combiners map.
2017-12-15 12:38:10 +07:00
Sergey Lipskiy
6a72b09b1f
Move texture fetching mode logic out of shader.
2017-12-15 12:38:03 +07:00
Sergey Lipskiy
aba3fefe63
Implement alternative methods of combiners shaders load.
...
Combiners muxes saved in separate text file.
When shader cache becames invalid, list of shaders muxes used to re-create combiners.
2017-10-26 00:27:52 +07:00
Sergey Lipskiy
7ba58fe5b6
Implement CombinerKey() ctor
2017-09-24 18:36:07 +07:00
Sergey Lipskiy
7af25b2452
Rewrite shader cache
2017-01-08 17:49:53 +07:00
Sergey Lipskiy
19f5f8b302
Move CombinerKey class to separate files.
2017-01-03 13:37:50 +07:00