ReinUsesLisp
4e1582eed1
shader_decode: Implement MOV32_IMM
7 years ago
ReinUsesLisp
b558235ec6
shader_decode: Stub RRO_C, RRO_R and RRO_IMM
7 years ago
ReinUsesLisp
cb19ed0316
shader_decode: Implement FMNMX_C, FMNMX_R and FMNMX_IMM
7 years ago
ReinUsesLisp
12d5281eff
shader_decode: Implement MUFU
7 years ago
ReinUsesLisp
bdafb25d16
shader_decode: Implement FADD_C, FADD_R and FADD_IMM
7 years ago
ReinUsesLisp
aa64616724
shader_decode: Implement FMUL_C, FMUL_R and FMUL_IMM
7 years ago
ReinUsesLisp
42b7053aa4
shader_decode: Implement MOV_C and MOV_R
7 years ago
ReinUsesLisp
19ca02d47b
video_core: Replace gl_shader_decompiler
7 years ago
ReinUsesLisp
5678498dfd
glsl_decompiler: Implementation
7 years ago
ReinUsesLisp
74ee18de5e
shader_ir: Add condition code helper
7 years ago
ReinUsesLisp
283dd9fb61
shader_ir: Add predicate combiner helper
7 years ago
ReinUsesLisp
d28033adca
shader_ir: Add comparison helpers
7 years ago
ReinUsesLisp
c0d053482c
shader_ir: Add half float helpers
7 years ago
ReinUsesLisp
e46dd3ce5f
shader_ir: Add integer helpers
7 years ago
ReinUsesLisp
b91929bf10
shader_ir: Add float helpers
7 years ago
ReinUsesLisp
83e750c9ae
shader_ir: Add setters
7 years ago
ReinUsesLisp
394f906044
shader_ir: Add local memory getters
7 years ago
ReinUsesLisp
311d1af657
shader_ir: Add internal flag getters
7 years ago
ReinUsesLisp
a66682374f
shader_ir: Add attribute getters
7 years ago
ReinUsesLisp
9d5d96500c
shader_ir: Add constant buffer getters
7 years ago
ReinUsesLisp
7f89f99c60
shader_ir: Add register getter
7 years ago
ReinUsesLisp
f43041efe1
shader_ir: Add immediate node constructors
7 years ago
ReinUsesLisp
25f868d8be
shader_ir: Initial implementation
7 years ago
ReinUsesLisp
2b5088a8e9
shader_bytecode: Fixup encoding
7 years ago
ReinUsesLisp
f03f054819
shader_header: Make local memory size getter constant
7 years ago
ReinUsesLisp
4495d76090
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
0bde2e5fc1
gl_global_cache: Add dummy global cache manager
7 years ago
ReinUsesLisp
33e53c7893
gl_rasterizer: Skip framebuffer configuration if rendertargets have not been changed
7 years ago
ReinUsesLisp
1c8411dc8d
gl_rasterizer_cache: Use dirty flags for the depth buffer
7 years ago
ReinUsesLisp
6e932fe118
gl_rasterizer_cache: Use dirty flags for color buffers
7 years ago
ReinUsesLisp
5fec808e30
gl_shader_cache: Use dirty flags for shaders
7 years ago
ReinUsesLisp
a17b13ac37
gl_stream_buffer: Use DSA for buffer management
7 years ago
ReinUsesLisp
fe889fb55b
gl_rasterizer: Use DSA for vertex array objects
7 years ago
ReinUsesLisp
5ba137cdfe
gl_state: Drop uniform buffer state tracking
7 years ago
ReinUsesLisp
8536bb5cfe
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
dec2113a73
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
82662f374a
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
aa86cd851e
Add missing uintBitsToFloat to SetRegisterToHalfFloat
7 years ago
Lioncash
21dec95072
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
50a48fe118
Apply CC test to the final value to be stored in the register
7 years ago
David
615a0df6b6
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
a04b5e9a42
shader_bytecode: Fixup TEXS.F16 encoding
7 years ago
Rodolfo Bogado
6ef7d94656
Includde saturation in the evaluation of the control code
7 years ago
Rodolfo Bogado
fd77c416fd
Handle RZ cases evaluating the expression instead of the register value.
7 years ago
Rodolfo Bogado
0ebab7e4c6
complete emulation of ZeroFlag
7 years ago
David Marcec
4568a12f6d
hopefully fix clang format issue
7 years ago
David Marcec
1dfb0a513a
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
2dbb90ed65
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
aee93ff8cf
Texture format fixes: Flag RGBA16UI as GL_RGBA_INTEGER format, and interpret R16U as Z16 when depth_compare is enabled.
7 years ago
ReinUsesLisp
40f57b087c
shader_bytecode: Fixup half float's operator B encoding
7 years ago