summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2016-01-15 17:51:54 +1300
committerScott Mansell <phiren@gmail.com>2016-06-26 16:13:19 +1200
commit03f2c9648dba5b7919d0c34e8381a02f84851695 (patch)
tree4556da41f54ed911a34164adfdd69ae454cccf81 /Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp
parent53c402dbc5cc25a62a1640ba8062fb8b2ebc1461 (diff)
Shader UID change: Only store the two bits of components we need.
This frees up 21 bits and allows us to shorten the UID struct by an entire 32 bits. It's not strictly needed (as it's encoded into the length) but I added a bit for per-pixel lighiting to make my life easier in the following commits.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp')
0 files changed, 0 insertions, 0 deletions