ReinUsesLisp
7d9a5e9e30
gl_state: Remove stencil test tracking
6 years ago
ReinUsesLisp
07a954e67f
gl_state: Remove clip control tracking
6 years ago
ReinUsesLisp
1eee891f6e
gl_state: Remove clip distances tracking
6 years ago
ReinUsesLisp
e8125af8dd
gl_state: Remove rasterizer disable tracking
6 years ago
ReinUsesLisp
d3e433a380
gl_state: Remove viewport and depth range tracking
6 years ago
ReinUsesLisp
7c16b3551b
gl_state: Remove scissor test tracking
6 years ago
ReinUsesLisp
0914c70b7f
gl_state: Remove color mask tracking
6 years ago
ReinUsesLisp
2392b548be
gl_state: Remove clamp framebuffer color tracking
This commit doesn't reset it for screen draws because clamping doesn't
change anything there.
6 years ago
ReinUsesLisp
f92236976b
gl_state: Remove multisample tracking
6 years ago
ReinUsesLisp
04d1134191
gl_state: Remove framebuffer sRGB tracking
6 years ago
ReinUsesLisp
d5ab0358b6
gl_state: Remove VAO cache and tracking
6 years ago
ReinUsesLisp
2a662fea36
gl_state: Remove depth clamp tracking
6 years ago
ReinUsesLisp
e1a16a52fa
gl_state: Remove depth tracking
6 years ago
ReinUsesLisp
0f343d32c4
gl_state: Remove primitive restart tracking
6 years ago
ReinUsesLisp
42708c762e
gl_state: Remove logic op tracker
6 years ago
ReinUsesLisp
915d73f3b8
gl_state: Remove blend color tracking
6 years ago
ReinUsesLisp
a0321b984f
gl_state: Remove polygon offset tracking
6 years ago
ReinUsesLisp
f646321dd0
gl_state: Remove alpha test tracking
6 years ago
ReinUsesLisp
c8f5f54a44
gl_state: Remove cull mode tracking
6 years ago
ReinUsesLisp
925521da5f
gl_state: Remove front face tracking
6 years ago
ReinUsesLisp
d2d5554296
gl_state: Remove point size tracking
6 years ago
ReinUsesLisp
b95f064b51
gl_rasterizer: Add oglEnablei helper
6 years ago
ReinUsesLisp
1698143a1d
gl_rasterizer: Add OpenGL enable/disable helper
6 years ago
ReinUsesLisp
96ac3d518a
gl_rasterizer: Remove dirty flags
6 years ago
bunnei
5056d23d0d
renderer_opengl: Fix SRGB presentation frame tracking.
- Fixes SRGB in Super Smash Bros. Ultimate.
6 years ago
Nguyen Dac Nam
6c0c2dfabc
shader_decode: Fix LD, LDG when track constant buffer
6 years ago
Nguyen Dac Nam
1c385362f5
shader_decode: keep it search on all code
It fixed opcode LD, LDG on Pokemon Sword that can't find the constant buffer. Not sure if it helps any on visual.
6 years ago
Morph
7ee6065178
Create an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels.
6 years ago
bunnei
ebbfe73557
renderer_opengl: Reduce swap chain size to 3.
6 years ago
Nguyen Dac Nam
db2f547434
shader: FMUL switch to using LUT ( #3441 )
* shader: add FmulPostFactor LUT table
* shader: FMUL apply LUT
* Update src/video_core/engines/shader_bytecode.h
Co-Authored-By: Mat M. <mathew1800@gmail.com>
* nit: mistype
* clang-format & add missing import
* shader: remove post factor LUT.
* shader: move post factor LUT to function and fix incorrect order.
* clang-format
* shader: FMUL: add static to post factor LUT
* nit: typo
Co-authored-by: Mat M. <mathew1800@gmail.com>
6 years ago
bunnei
a17214baea
renderer_opengl: Use more concise lock syntax.
6 years ago
bunnei
aef159354c
renderer_opengl: Move Frame/FrameMailbox to OpenGL namespace.
6 years ago
ReinUsesLisp
0aaa69e4d7
vk_swapchain: Silence TOCTOU race condition
It's possible that the window is resized from the moment we ask for its
size to the moment a swapchain is created, causing validation issues.
To workaround this Vulkan issue request the capabilities again just
before creating the swapchain, making the race condition less likely.
6 years ago
bunnei
795893a9a5
renderer_opengl: Create gl_framebuffer_data if empty.
6 years ago
bunnei
e25297536f
frontend: qt: bootmanager: Vulkan: Restore support for VK backend.
6 years ago
bunnei
667f026c95
core: frontend: Refactor scope_acquire_window_context to scope_acquire_context.
6 years ago
bunnei
dc672ca4b3
renderer_opengl: Add texture mailbox support for presenter thread.
6 years ago
bunnei
add2c38b73
renderer_opengl: Add OGLRenderbuffer to resource/state management.
6 years ago
ReinUsesLisp
466ce715e4
video_core/surface: Add R32_SINT render target format
6 years ago
ReinUsesLisp
3c648e3e2d
video_core/gpu: Remove unused functions
6 years ago
ReinUsesLisp
1e9213632a
vk_shader_decompiler: Implement indexed textures
Implement accessing textures through an index. It uses the same
interface as OpenGL, the main difference is that Vulkan bindings are
forced to be arrayed (the binding index doesn't change for stacked
textures in SPIR-V).
6 years ago
ReinUsesLisp
1dda77d392
shader: Simplify indexed sampler usages
6 years ago
ReinUsesLisp
e2dd59e341
video_core: Implement more scaler attribute formats
While changing this, fix assert in vk_shader_decompiler. We now know
scaled formats are expected to be float in shaders attributes.
6 years ago
ReinUsesLisp
7dc488a375
shader/texture: Fix illegal 3D texture assert
Fix typo in the illegal 3D texture assert logic. We care about catching
arrayed 3D textures or 3D shadow textures, not regular 3D textures.
6 years ago
Nguyen Dac Nam
10d8afb302
nit: add const to where it need.
6 years ago
Nguyen Dac Nam
1956a34ee5
shader: implement LOP3 fast replace for old function
ref: https://devtalk.nvidia.com/default/topic/1070081/cuda-programming-and-performance/reverse-lut-for-lop3-lut/
6 years ago
Nguyen Dac Nam
c0c4da27d9
vk_device: remove left over from other branch
6 years ago
Nguyen Dac Nam
ecf275887b
clang-format
6 years ago
Nguyen Dac Nam
fbbad95845
shader_decompiler: only add StorageImageReadWithoutFormat when available
6 years ago
bunnei
d65fa7d65c
video_core: memory_manager: Flush/invalidate asynchronously on Unmap.
- Minor perf improvement.
6 years ago