| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge pull request #367 from lioncash/clamp | 2018-04-20 | 2 | -16/+17 | |
| |\ | | | | | math_util: Remove the Clamp() function | ||||
| | * | math_util: Remove the Clamp() function | 2018-04-20 | 2 | -16/+17 | |
| | | | | | | | | | | | C++17 adds clamp() to the standard library, so we can remove ours in favor of it. | ||||
| * | | Merge pull request #363 from lioncash/array-size | 2018-04-20 | 1 | -2/+2 | |
| |\ \ | | | | | | | common_funcs: Remove ARRAY_SIZE macro | ||||
| | * | | common_funcs: Remove ARRAY_SIZE macro | 2018-04-19 | 1 | -2/+2 | |
| | |/ | | | | | | | C++17 has non-member size() which we can just call where necessary. | ||||
| * / | renderer_opengl: Add missing header guards | 2018-04-19 | 2 | -0/+4 | |
| |/ | |||||
| * | Merge pull request #356 from lioncash/shader | 2018-04-19 | 1 | -12/+30 | |
| |\ | | | | | glsl_shader_decompiler: Minor API changes to ShaderWriter | ||||
| | * | glsl_shader_decompiler: Use std::string_view instead of std::string for ↵ | 2018-04-19 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | glsl_shader_decompiler: Add AddNewLine() function to ShaderWriter | 2018-04-19 | 1 | -6/+12 | |
| | | | | | | | | | Avoids constructing a std::string just to append a newline character | ||||
| | * | glsl_shader_decompiler: Add char overload for ShaderWriter's AddLine() | 2018-04-19 | 1 | -4/+11 | |
| | | | | | | | | | Avoids constructing a std::string just to append a character. | ||||
| | * | glsl_shader_decompiler: Append indentation without constructing a separate ↵ | 2018-04-19 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | std::string The interface of std::string already lets us append N copies of a character to an existing string. | ||||
| * | | ShaderGen: Implemented the fmul32i shader instruction. | 2018-04-19 | 2 | -9/+30 | |
| | | | |||||
| * | | ShaderGen: Fixed a case where the TEXS instruction would use the same ↵ | 2018-04-19 | 1 | -2/+9 | |
| |/ | | | | | | registers for the input and the output. It will now save the coords before writing the outputs in a subscope. | ||||
| * | GPU: Add support for the DXT23 and DXT45 compressed texture formats. | 2018-04-18 | 3 | -28/+35 | |
| | | |||||
| * | Merge pull request #351 from Subv/tex_formats | 2018-04-18 | 4 | -8/+28 | |
| |\ | | | | | GPU: Implemented the B5G6R5 format. | ||||
| | * | GPU: Implemented the B5G6R5 format. | 2018-04-18 | 4 | -8/+28 | |
| | | | |||||
| * | | gl_shader_gen: Support vertical/horizontal viewport flipping. (#347) | 2018-04-18 | 4 | -5/+29 | |
| |/ | | | | | | * gl_shader_gen: Support vertical/horizontal viewport flipping. * fixup! gl_shader_gen: Support vertical/horizontal viewport flipping. | ||||
| * | GLCache: Added boilerplate code to make supporting configurable texture ↵ | 2018-04-18 | 3 | -9/+69 | |
| | | | | | | | component types. For now only the UNORM type is supported. | ||||
| * | GLCache: Unify texture and framebuffer formats when converting to OpenGL. | 2018-04-18 | 2 | -26/+13 | |
| | | |||||
| * | GPU: Texture format 8 and framebuffer format 0xD5 are actually ABGR8. | 2018-04-18 | 2 | -10/+10 | |
| | | |||||
| * | GPU: Pitch textures are now supported, don't assert when encountering them. | 2018-04-18 | 1 | -2/+3 | |
| | | |||||
| * | GLCache: Take into account the texture's block height when caching and ↵ | 2018-04-18 | 3 | -43/+43 | |
| | | | | | unswizzling. | ||||
| * | GLCache: Added a function to convert cached PixelFormats back to texture ↵ | 2018-04-18 | 1 | -0/+12 | |
| | | | | | | | formats. TODO: The way we handle cached formats must change, framebuffer and texture formats are too different to keep them in the same place. | ||||
| * | GPU: Allow using a configurable block height when unswizzling textures. | 2018-04-18 | 4 | -7/+23 | |
| | | |||||
| * | GPU/TIC: Added the pitch and block height fields to the TIC structure. | 2018-04-18 | 1 | -1/+16 | |
| | | |||||
| * | Merge pull request #346 from bunnei/misc-gpu-improvements | 2018-04-17 | 4 | -2/+11 | |
| |\ | | | | | Misc gpu improvements | ||||
| | * | gl_rasterizer_cache: Add missing LOG statements. | 2018-04-17 | 1 | -0/+3 | |
| | | | |||||
| | * | texture: Add missing formats. | 2018-04-17 | 1 | -1/+3 | |
| | | | |||||
| | * | gpu: Add several framebuffer formats to RenderTargetFormat. | 2018-04-17 | 1 | -0/+3 | |
| | | | |||||
| | * | maxwell3d: Allow Texture2DNoMipmap as Texture2D. | 2018-04-17 | 1 | -1/+2 | |
| | | | |||||
| * | | Merge pull request #344 from bunnei/shader-decompiler-p2 | 2018-04-17 | 3 | -67/+179 | |
| |\ \ | | | | | | | Shader decompiler changes part 2 | ||||
| | * | | shader_bytecode: Make ctor's constexpr and explicit. | 2018-04-17 | 1 | -7/+7 | |
| | | | | |||||
| | * | | gl_shader_decompiler: Fix warnings with MarkAsUsed. | 2018-04-17 | 1 | -1/+2 | |
| | | | | |||||
| | * | | gl_shader_decompiler: Cleanup logging, updating to NGLOG_*. | 2018-04-17 | 1 | -24/+22 | |
| | | | | |||||
| | * | | gl_shader_decompiler: Implement several MUFU subops and abs_d. | 2018-04-17 | 1 | -7/+21 | |
| | | | | |||||
| | * | | gl_shader_decompiler: Fix swizzle in GetRegister. | 2018-04-17 | 1 | -1/+1 | |
| | | | | |||||
| | * | | gl_shader_decompiler: Implement FMUL/FADD/FFMA immediate instructions. | 2018-04-17 | 2 | -12/+53 | |
| | | | | |||||
| | * | | gl_shader_decompiler: Allow vertex position to be used in fragment shader. | 2018-04-17 | 2 | -16/+18 | |
| | | | | |||||
| | * | | gl_shader_decompiler: Implement IPA instruction. | 2018-04-17 | 1 | -0/+11 | |
| | | | | |||||
| | * | | gl_shader_decompiler: Add support for TEXS instruction. | 2018-04-17 | 2 | -12/+43 | |
| | | | | |||||
| | * | | gl_shader_decompiler: Use fragment output color for GPR 0-3. | 2018-04-17 | 1 | -0/+5 | |
| | | | | |||||
| | * | | gl_shader_decompiler: Partially implement MUFU. | 2018-04-17 | 1 | -2/+11 | |
| | |/ | |||||
| * / | renderer_opengl: Implement BlendEquation and BlendFunc. | 2018-04-17 | 6 | -7/+140 | |
| |/ | |||||
| * | Merge pull request #343 from Subv/tex_wrap_4 | 2018-04-17 | 1 | -0/+7 | |
| |\ | | | | | GPU: Implement some wrap modes | ||||
| | * | MaxwellToGL: Implemented tex wrap mode 1 (Wrap, GL_REPEAT). | 2018-04-17 | 1 | -0/+2 | |
| | | | |||||
| | * | MaxwellToGL: Added a TODO and partial implementation of maxwell wrap mode 4 ↵ | 2018-04-17 | 1 | -0/+5 | |
| | | | | | | | | | | | | | (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. | ||||
| * | | gl_rendering: Use NGLOG* for changed code. | 2018-04-16 | 2 | -10/+11 | |
| | | | |||||
| * | | gl_rasterizer: Implement indexed vertex mode. | 2018-04-16 | 5 | -23/+92 | |
| |/ | |||||
| * | GPU: Use the same buffer names in the generated GLSL and the buffer ↵ | 2018-04-15 | 4 | -17/+24 | |
| | | | | | uploading code. | ||||
| * | GPU: Don't use explicit binding points when uploading the constbuffers to ↵ | 2018-04-15 | 3 | -7/+47 | |
| | | | | | | | opengl. The bindpoints will now be dynamically calculated based on the number of buffers used by the previous shader stage. | ||||
| * | GPU: Don't use GetPointer when uploading the constbuffer data to the GPU. | 2018-04-15 | 1 | -3/+4 | |
| | | |||||