Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | video_core: Adjust `NUM` macro to avoid Clang warning | comex | 2020-12-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | The previous definition was: #define NUM(field_name) (sizeof(Maxwell3D::Regs::field_name) / sizeof(u32)) In cases where `field_name` happens to refer to an array, Clang thinks `sizeof(an array value) / sizeof(a type)` is an instance of the idiom where `sizeof` is used to compute an array length. So it thinks the type in the denominator ought to be the array element type, and warns if it isn't, assuming this is a mistake. In reality, `NUM` is not used to get array lengths at all, so there is no mistake. Silence the warning by applying Clang's suggested workaround of parenthesizing the denominator. | ||||
* | video_core: Remove all Core::System references in renderer | ReinUsesLisp | 2020-09-06 | 1 | -4/+2 |
| | | | | | | | | | Now that the GPU is initialized when video backends are initialized, it's no longer needed to query components once the game is running: it can be done when yuzu is booting. This allows us to pass components between constructors and in the process remove all Core::System references in the video backend. | ||||
* | gl_rasterizer: Implement line widths and smooth lines | ReinUsesLisp | 2020-04-13 | 1 | -0/+7 |
| | | | | | Implements "legacy" features from OpenGL present on hardware such as smooth lines and line width. | ||||
* | DirtyFlags: relax need to set render_targets as dirty | Fernando Sahmkow | 2020-03-14 | 1 | -1/+0 |
| | | | | | The texture cache already takes care of setting a render target to dirty when invalidated. | ||||
* | gl_rasterizer: Implement polygon modes and fill rectangles | ReinUsesLisp | 2020-03-10 | 1 | -0/+10 |
| | |||||
* | dirty_flags: Deduplicate code between OpenGL and Vulkan | ReinUsesLisp | 2020-02-28 | 1 | -38/+1 |
| | |||||
* | state_tracker: Remove type traits with named structures | ReinUsesLisp | 2020-02-28 | 1 | -4/+2 |
| | |||||
* | gl_state_tracker: Implement dirty flags for depth clamp enabling | ReinUsesLisp | 2020-02-28 | 1 | -0/+5 |
| | |||||
* | gl_state_tracker: Implement dirty flags for clip control | ReinUsesLisp | 2020-02-28 | 1 | -0/+7 |
| | |||||
* | gl_state_tracker: Implement dirty flags for point sizes | ReinUsesLisp | 2020-02-28 | 1 | -0/+7 |
| | |||||
* | gl_state_tracker: Implement dirty flags for fragment color clamp | ReinUsesLisp | 2020-02-28 | 1 | -0/+5 |
| | |||||
* | gl_state_tracker: Implement dirty flags for logic op | ReinUsesLisp | 2020-02-28 | 1 | -0/+5 |
| | |||||
* | gl_state_tracker: Implement dirty flags for sRGB | ReinUsesLisp | 2020-02-28 | 1 | -0/+5 |
| | |||||
* | gl_state_tracker: Implement dirty flags for rasterize enable | ReinUsesLisp | 2020-02-28 | 1 | -0/+5 |
| | |||||
* | gl_state_tracker: Implement dirty flags for multisample | ReinUsesLisp | 2020-02-28 | 1 | -0/+5 |
| | |||||
* | gl_state_tracker: Implement dirty flags for alpha testing | ReinUsesLisp | 2020-02-28 | 1 | -0/+8 |
| | |||||
* | gl_state_tracker: Implement dirty flags for polygon offsets | ReinUsesLisp | 2020-02-28 | 1 | -0/+11 |
| | |||||
* | gl_state_tracker: Implement dirty flags for primitive restart | ReinUsesLisp | 2020-02-28 | 1 | -0/+5 |
| | |||||
* | gl_state_tracker: Implement dirty flags for stencil testing | ReinUsesLisp | 2020-02-28 | 1 | -0/+14 |
| | |||||
* | gl_state_tracker: Implement depth dirty flags | ReinUsesLisp | 2020-02-28 | 1 | -0/+8 |
| | |||||
* | gl_state_tracker: Implement dirty flags for front face and culling | ReinUsesLisp | 2020-02-28 | 1 | -1/+8 |
| | |||||
* | gl_state_tracker: Implement dirty flags for blending | ReinUsesLisp | 2020-02-28 | 1 | -0/+16 |
| | |||||
* | gl_state_tracker: Implement dirty flags for clip distances and shaders | ReinUsesLisp | 2020-02-28 | 1 | -0/+11 |
| | |||||
* | gl_state_tracker: Add dirty flags for buffers and divisors | ReinUsesLisp | 2020-02-28 | 1 | -0/+21 |
| | |||||
* | maxwell_3d: Change write dirty flags to a bitset | ReinUsesLisp | 2020-02-28 | 1 | -11/+11 |
| | |||||
* | gl_state_tracker: Implement dirty flags for vertex formats | ReinUsesLisp | 2020-02-28 | 1 | -0/+10 |
| | |||||
* | gl_state_tracker: Implement dirty flags for color masks | ReinUsesLisp | 2020-02-28 | 1 | -0/+11 |
| | |||||
* | gl_state_tracker: Implement dirty flags for scissors | ReinUsesLisp | 2020-02-28 | 1 | -0/+9 |
| | |||||
* | gl_state_tracker: Implement dirty flags for viewports | ReinUsesLisp | 2020-02-28 | 1 | -0/+17 |
| | |||||
* | renderer_opengl: Reintroduce dirty flags for render targets | ReinUsesLisp | 2020-02-28 | 1 | -0/+85 |
| | |||||
* | gl_rasterizer: Remove dirty flags | ReinUsesLisp | 2020-02-28 | 1 | -0/+0 |