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
Nguyen Dac Nam
88cb05e6e7
shader_decompiler: add check in case of device not support ShaderStorageImageReadWithoutFormat
6 years ago
Nguyen Dac Nam
e61c7e9310
vk_device: setup shaderStorageImageReadWithoutFormat
6 years ago
Nguyen Dac Nam
47106ab152
vk_device: add check for shaderStorageImageReadWithoutFormat
6 years ago
Nguyen Dac Nam
1b6308727c
shader_conversion: I2F : add Assert for case src_size is Short
6 years ago
Nguyen Dac Nam
a2c2c5768f
fix warning
6 years ago
Nguyen Dac Nam
a8508f2bc0
clang-format fix
6 years ago
Nguyen Dac Nam
556f3a6e9a
shader_conversion: add conversion I2F for Short
6 years ago
Nguyen Dac Nam
2ef8af93aa
vk_shader: add Capability StorageImageReadWithoutFormat
6 years ago
Nguyen Dac Nam
f6f0762e81
vk_shader: Implement function ImageLoad (Used by Kirby Start Allies)
Please enter the commit message for your changes. Lines starting
6 years ago
Nguyen Dac Nam
ec206f7f95
fixups mistake auto commit.
6 years ago
Nguyen Dac Nam
eaf60ca5d8
Update code structure
Co-Authored-By: Mat M. <mathew1800@gmail.com>
6 years ago
Nguyen Dac Nam
9295966d26
add vertex UnsignedInt size RGBA
6 years ago
Nguyen Dac Nam
9fc42fffd9
add eBc2SrgbBlock to formats
6 years ago
Nguyen Dac Nam
493f0ad904
vulkan: add DXT23_SRGB
6 years ago
Nguyen Dac Nam
ba84f0988f
renderer_vulkan: Add the rest of case for TryConvertBorderColor
6 years ago
ReinUsesLisp
6a0220b2e1
texture_cache: Implement layered framebuffer attachments
Layered framebuffer attachments is a feature that allows applications to
write attach layered textures to a single attachment. What layer the
fragments are written to is decided from the shader using gl_Layer.
6 years ago
ReinUsesLisp
1caf3f11c8
vk_shader_decompiler: Implement Layer output attribute
SPIR-V's Layer is GLSL's gl_Layer. It lets the application choose from a
shader stage (vertex, tessellation or geometry) which framebuffer layer
write the output fragments to.
6 years ago
ReinUsesLisp
bfda5ff3f6
texture_cache: Avoid matches in 3D textures
Code before this commit was trying to match 3D textures with another
target. Fix that.
6 years ago
ReinUsesLisp
fd62bdf377
surface_base: Implement texture buffer flushes
Implement downloads to guest memory from texture buffers on the generic
cache and OpenGL.
6 years ago
bunnei
0f70f68fb3
Revert "video_core: memory_manager: Use GPU interface for cache functions."
6 years ago