bunnei
8633ca172e
renderer_opengl: Fix SRGB presentation frame tracking.
- Fixes SRGB in Super Smash Bros. Ultimate.
6 years ago
Nguyen Dac Nam
a775209d1b
shader_decode: Fix LD, LDG when track constant buffer
6 years ago
Nguyen Dac Nam
9b2b16f0b1
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
c6e07faf25
Create an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels.
6 years ago
bunnei
c928b07625
renderer_opengl: Reduce swap chain size to 3.
6 years ago
Nguyen Dac Nam
bb39862dfe
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
0e5233098f
renderer_opengl: Use more concise lock syntax.
6 years ago
bunnei
cba9bdcab0
renderer_opengl: Move Frame/FrameMailbox to OpenGL namespace.
6 years ago
ReinUsesLisp
3056f6d364
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
61f86b0058
renderer_opengl: Create gl_framebuffer_data if empty.
6 years ago
bunnei
ba6d264342
frontend: qt: bootmanager: Vulkan: Restore support for VK backend.
6 years ago
bunnei
f1f2405b9f
core: frontend: Refactor scope_acquire_window_context to scope_acquire_context.
6 years ago
bunnei
361819a125
renderer_opengl: Add texture mailbox support for presenter thread.
6 years ago
bunnei
44137628c8
renderer_opengl: Add OGLRenderbuffer to resource/state management.
6 years ago
ReinUsesLisp
74984326b0
video_core/surface: Add R32_SINT render target format
6 years ago
ReinUsesLisp
30ed1b0702
video_core/gpu: Remove unused functions
6 years ago
ReinUsesLisp
e88187cfa0
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
043d94e858
shader: Simplify indexed sampler usages
6 years ago
ReinUsesLisp
367ade1151
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
8ab2e5f561
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
96e43427e5
nit: add const to where it need.
6 years ago
Nguyen Dac Nam
0c3acedaf9
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
c3088fd578
vk_device: remove left over from other branch
6 years ago
Nguyen Dac Nam
5b3a5b5fb6
clang-format
6 years ago
Nguyen Dac Nam
090dd95c05
shader_decompiler: only add StorageImageReadWithoutFormat when available
6 years ago
bunnei
638252e316
video_core: memory_manager: Flush/invalidate asynchronously on Unmap.
- Minor perf improvement.
6 years ago
Nguyen Dac Nam
102d52ad68
shader_decompiler: add check in case of device not support ShaderStorageImageReadWithoutFormat
6 years ago
Nguyen Dac Nam
1ed0d4faea
vk_device: setup shaderStorageImageReadWithoutFormat
6 years ago
Nguyen Dac Nam
d285fae01a
vk_device: add check for shaderStorageImageReadWithoutFormat
6 years ago
Nguyen Dac Nam
a57853e085
shader_conversion: I2F : add Assert for case src_size is Short
6 years ago
Nguyen Dac Nam
92153118ab
fix warning
6 years ago
Nguyen Dac Nam
84fc48b0eb
clang-format fix
6 years ago
Nguyen Dac Nam
0d9361d21f
shader_conversion: add conversion I2F for Short
6 years ago
Nguyen Dac Nam
c9448bc5ba
vk_shader: add Capability StorageImageReadWithoutFormat
6 years ago
Nguyen Dac Nam
c646835eb0
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
85e76831a1
fixups mistake auto commit.
6 years ago
Nguyen Dac Nam
418b7ffb21
Update code structure
Co-Authored-By: Mat M. <mathew1800@gmail.com>
6 years ago
Nguyen Dac Nam
af67c90eca
add vertex UnsignedInt size RGBA
6 years ago
Nguyen Dac Nam
2058556671
add eBc2SrgbBlock to formats
6 years ago
Nguyen Dac Nam
6d36df9e5d
vulkan: add DXT23_SRGB
6 years ago
Nguyen Dac Nam
fa641bf689
renderer_vulkan: Add the rest of case for TryConvertBorderColor
6 years ago
ReinUsesLisp
505f30fdaf
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
6385b93c8d
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
b4bd0c57e4
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
4fd155c282
surface_base: Implement texture buffer flushes
Implement downloads to guest memory from texture buffers on the generic
cache and OpenGL.
6 years ago
bunnei
f382179d47
Revert "video_core: memory_manager: Use GPU interface for cache functions."
6 years ago
ReinUsesLisp
f3255c3598
texture: Implement R32I
6 years ago
ReinUsesLisp
f37f4e76d6
shader/texture: Allow 2D shadow arrays and simplify code
Shadow sampler 2D arrays are supported on OpenGL, so there's no reason
to forbid these. Enable textureLod usage on these.
Minor style changes.
6 years ago
ReinUsesLisp
518a6182f9
maxwell_3d: Unify draw methods
Pass instanced state of a draw invocation as an argument instead of
having two separate virtual methods.
6 years ago
ReinUsesLisp
4364492b95
query_cache: Address feedback
6 years ago