| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This function doesn't modify class state, so it can be made const.
|
|
|
|
|
|
|
|
|
| |
Avoids performing unnecessary copies of 65560 byte sized ShaderSetup
instances, considering it's only used as part of lookup and not
modified.
Given the parameters were already const, it's likely taking these
parameters by reference was intended but the ampersand was forgotten.
|
|
|
|
| |
This was just a linker error waiting to happen.
|
|
|
|
|
|
| |
All tested games that use a single texture show no regression.
Only Texture2D textures are supported right now, each shader gets its own "tex_fs/vs/gs" sampler array to maintain independent textures between shader stages, the textures themselves are reused if possible.
|
|
|
|
|
|
| |
* gl_shader_gen: Support vertical/horizontal viewport flipping.
* fixup! gl_shader_gen: Support vertical/horizontal viewport flipping.
|
|
|
|
| |
The bindpoints will now be dynamically calculated based on the number of buffers used by the previous shader stage.
|
| |
|
|
|
|
| |
We're going to need the shader generator to give us a mapping of the actual used const buffers to properly bind them to the shader.
|
| |
|
| |
|
|
|