| Age | Commit message (Collapse) | Author |
|
math_util: Remove the Clamp() function
|
|
C++17 adds clamp() to the standard library, so we can remove ours in
favor of it.
|
|
common_funcs: Remove ARRAY_SIZE macro
|
|
C++17 has non-member size() which we can just call where necessary.
|
|
|
|
glsl_shader_decompiler: Minor API changes to ShaderWriter
|
|
AddLine()
This function doesn't need to take ownership of the string data being
given to it, considering all we do is append the characters to the
internal string instance.
Instead, use a string view to simply reference the string data without
any potential heap allocation.
Now anything that is a raw const char* won't need to be converted to a
std::string before appending.
|
|
Avoids constructing a std::string just to append a newline character
|
|
Avoids constructing a std::string just to append a character.
|
|
std::string
The interface of std::string already lets us append N copies of a
character to an existing string.
|
|
|
|
registers for the input and the output.
It will now save the coords before writing the outputs in a subscope.
|
|
|
|
GPU: Implemented the B5G6R5 format.
|
|
|
|
* gl_shader_gen: Support vertical/horizontal viewport flipping.
* fixup! gl_shader_gen: Support vertical/horizontal viewport flipping.
|
|
component types.
For now only the UNORM type is supported.
|
|
|
|
|
|
|
|
unswizzling.
|
|
formats.
TODO: The way we handle cached formats must change, framebuffer and texture formats are too different to keep them in the same place.
|
|
|
|
|
|
Misc gpu improvements
|
|
Shader decompiler changes part 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GPU: Implement some wrap modes
|
|
|
|
(Clamp, GL_CLAMP).
This clamp mode was removed from OpenGL as of 3.1, we can emulate it by using GL_CLAMP_TO_BORDER to get the border color of the texture, and then manually sampling the edge to mix them in the fragment shader.
|
|
|
|
|
|
uploading code.
|
|
opengl.
The bindpoints will now be dynamically calculated based on the number of buffers used by the previous shader stage.
|
|
|