ReinUsesLisp
4c70d5b8eb
shader_decode: Implement MOV_C and MOV_R
7 years ago
ReinUsesLisp
a4f052f6b3
video_core: Replace gl_shader_decompiler
7 years ago
ReinUsesLisp
0c6fb456e0
glsl_decompiler: Implementation
7 years ago
ReinUsesLisp
fbc67a0563
shader_ir: Add condition code helper
7 years ago
ReinUsesLisp
a58abbcfc4
shader_ir: Add predicate combiner helper
7 years ago
ReinUsesLisp
bf07272695
shader_ir: Add comparison helpers
7 years ago
ReinUsesLisp
60f044df56
shader_ir: Add half float helpers
7 years ago
ReinUsesLisp
e3c55e31d7
shader_ir: Add integer helpers
7 years ago
ReinUsesLisp
833d0806f9
shader_ir: Add float helpers
7 years ago
ReinUsesLisp
6b9eea3fe5
shader_ir: Add setters
7 years ago
ReinUsesLisp
12a95ff453
shader_ir: Add local memory getters
7 years ago
ReinUsesLisp
2f87fd060d
shader_ir: Add internal flag getters
7 years ago
ReinUsesLisp
15f431f0cb
shader_ir: Add attribute getters
7 years ago
ReinUsesLisp
864e8f55cf
shader_ir: Add constant buffer getters
7 years ago
ReinUsesLisp
5e639bfcf6
shader_ir: Add register getter
7 years ago
ReinUsesLisp
4aaa2192b9
shader_ir: Add immediate node constructors
7 years ago
ReinUsesLisp
15a0e1481d
shader_ir: Initial implementation
7 years ago
ReinUsesLisp
294df41b86
shader_bytecode: Fixup encoding
7 years ago
ReinUsesLisp
a0c8c16d07
shader_header: Make local memory size getter constant
7 years ago
ReinUsesLisp
877a978a22
gl_rasterizer: Workaround Intel VAO DSA bug
There is a bug on Intel's blob driver where it fails to properly build a
vertex array object if it's not bound even after creating it with
glCreateVertexArrays. This workaround binds it after creating it to
bypass the issue.
7 years ago
ReinUsesLisp
3121408a90
gl_global_cache: Add dummy global cache manager
7 years ago
ReinUsesLisp
19cf995225
gl_rasterizer: Skip framebuffer configuration if rendertargets have not been changed
7 years ago
ReinUsesLisp
b683e41fca
gl_rasterizer_cache: Use dirty flags for the depth buffer
7 years ago
ReinUsesLisp
179ee963db
gl_rasterizer_cache: Use dirty flags for color buffers
7 years ago
ReinUsesLisp
0ab17ab406
gl_shader_cache: Use dirty flags for shaders
7 years ago
ReinUsesLisp
5933b3ea96
gl_stream_buffer: Use DSA for buffer management
7 years ago
ReinUsesLisp
35c095898b
gl_rasterizer: Use DSA for vertex array objects
7 years ago
ReinUsesLisp
ea4928393f
gl_state: Drop uniform buffer state tracking
7 years ago
ReinUsesLisp
fc8a8789da
gl_rasterizer_cache: Use GL_STREAM_COPY for PBOs
Since the data is doing the path CPU -> GPU -> GPU copy is the most
approximate hint. Using GL_STREAM_DRAW generated a performance warning
on Nvidia's stack. Changing this hint removed the warning.
7 years ago
ReinUsesLisp
97fb6179b9
gl_rasterizer_cache: Texture view if shader samples array but OGL is not
When a shader samples a texture array but that texture in OpenGL is
created without layers, use a texture view to increase the texture
hierarchy. For example, instead of binding a GL_TEXTURE_2D bind a
GL_TEXTURE_2D_ARRAY view.
7 years ago
bunnei
2020ba06e1
gpu: Remove PixelFormat G8R8U and G8R8S, as they do not seem to exist.
- Fixes UI rendering issues in The Legend of Zelda: Breath of the Wild.
7 years ago
Rodolfo Bogado
fbe900ba6d
Add missing uintBitsToFloat to SetRegisterToHalfFloat
7 years ago
Lioncash
67fa21e143
renderer_opengl: Correct forward declaration of FramebufferLayout
This is actually a struct, not a class, which can lead to compilation
warnings.
7 years ago
Rodolfo Bogado
33056dd833
Apply CC test to the final value to be stored in the register
7 years ago
David
8047873a66
Fixed shader linking error due to TLDS ( #1934 )
* Fixed shader linking error due to TLDS
coord should be coords
* Fix remaining coords
7 years ago
ReinUsesLisp
aaa0e6c346
shader_bytecode: Fixup TEXS.F16 encoding
7 years ago
Rodolfo Bogado
bbf8d6bf01
Includde saturation in the evaluation of the control code
7 years ago
Rodolfo Bogado
946777601b
Handle RZ cases evaluating the expression instead of the register value.
7 years ago
Rodolfo Bogado
7e72b5e453
complete emulation of ZeroFlag
7 years ago
David Marcec
20859802f0
hopefully fix clang format issue
7 years ago
David Marcec
fdd649e2ef
Fixed uninitialized memory due to missing returns in canary
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
7 years ago
zhupengfei
a2be49305d
yuzu, video_core: Screenshot functionality
Allows capturing screenshot at the current internal resolution (native for software renderer), but a setting is available to capture it in other resolutions. The screenshot is saved to a single PNG in the current layout.
7 years ago
heapo
37280cf555
Texture format fixes: Flag RGBA16UI as GL_RGBA_INTEGER format, and interpret R16U as Z16 when depth_compare is enabled.
7 years ago
ReinUsesLisp
ef061481c5
shader_bytecode: Fixup half float's operator B encoding
7 years ago
heapo
72599cc667
Implement postfactor multiplication/division for fmul instructions
7 years ago
heapo
a6daed74f5
Fix arrayed shadow sampler array slice/depth comparison ordering, as well as invalid GLSL LOD selection.
7 years ago
Lioncash
4c2b94559b
gl_shader_cache: Dehardcode constant in CalculateProgramSize()
This constant is related to the size of the instruction.
7 years ago
Lioncash
861bfdbf5d
gl_shader_cache: Resolve truncation compiler warning
The previous code would cause a warning, as it was truncating size_t
(64-bit) to a u32 (32-bit) implicitly.
7 years ago
Marcos Vitali
430e1f864b
gl_shader_decompiler: IPA FrontFacing: the right value when is the front face is 0xFFFFFFFF.
7 years ago
Fernando Sahmkow
d5d77848e6
Implemented a shader unique identifier.
7 years ago