Subv
84c9824895
GPU: Use the MacroInterpreter class to execute the GPU macros instead of HLEing them.
8 years ago
Subv
7fe4f9491e
GPU: Implemented a gpu macro interpreter.
The Ryujinx macro interpreter and envydis were used as reference.
Macros are programs that are uploaded by the games during boot and can later be called by writing to their method id in a GPU command buffer.
8 years ago
bunnei
6333552a5d
renderer_opengl: Use better naming for DrawScreens and DrawSingleScreen.
8 years ago
bunnei
12a6c7b11b
gl_rasterizer: Move code to bind framebuffer surfaces before draw to its own function.
8 years ago
bunnei
b9eae6e652
gl_rasterizer: Add a SyncViewport method.
8 years ago
bunnei
2666b52264
gl_rasterizer: Move PrimitiveTopology check to MaxwellToGL.
8 years ago
bunnei
74c4739713
graphics_surface: Fix merge conflicts.
8 years ago
bunnei
7c376760c0
gl_rasterizer: Use ReadBlock instead of GetPointer for SetupVertexArray.
8 years ago
bunnei
95d56cac29
gl_rasterizer: Normalize vertex array data as appropriate.
8 years ago
bunnei
0e59fbd73f
maxwel_to_gl: Fix string formatting in log statements.
8 years ago
bunnei
b601155fb0
rasterizer: Rename DrawTriangles to DrawArrays.
8 years ago
bunnei
ec13680b3e
gl_rasterizer: Use passthrough shader for SetupVertexShader.
8 years ago
bunnei
71a932291f
renderer_opengl: Logging, etc. cleanup.
8 years ago
bunnei
be645eece3
renderer_opengl: Remove framebuffer RasterizerFlushVirtualRegion hack.
8 years ago
bunnei
36a3a82135
gl_rasterizer_cache: Implement UpdatePagesCachedCount.
8 years ago
bunnei
4c36e92bf4
gl_rasterizer: Implement SetupVertexArray.
8 years ago
bunnei
4c0ed161a8
gl_rasterizer_cache: Fix an ASSERT_MSG.
8 years ago
bunnei
9e146ba2db
maxwell_to_gl: Add module and function for decoding VertexType.
8 years ago
bunnei
ded4139447
maxwell_3d: Use names that match envytools for VertexType.
8 years ago
bunnei
d37f03d0fe
maxwell_3d: Add VertexAttribute struct and cleanup.
8 years ago
bunnei
5f3f68e064
gl_rasterizer: Use 32 texture units instead of 3.
8 years ago
bunnei
b1a3858e30
gl_rasterizer: Implement DrawTriangles.
8 years ago
bunnei
e04a5dec60
Maxwell3D: Call AccelerateDrawBatch on DrawArrays.
8 years ago
bunnei
5ae2fe6c69
gl_rasterizer: Implement AnalyzeVertexArray.
8 years ago
bunnei
e285a5d6da
gl_rasterizer_cache: MortonCopy Switch-style.
8 years ago
bunnei
25e901ec1e
gl_rasterizer_cache: Implement GetFramebufferSurfaces.
8 years ago
bunnei
bf282aa01f
maxwell: Add RenderTargetFormat enum.
8 years ago
bunnei
33b4c486f3
renderer_opengl: Only draw the screen if a framebuffer is specified.
8 years ago
Subv
3707231f5d
GPU: Load the sampler info (TSC) when retrieving active textures.
8 years ago
Subv
c8425b1af4
GPU: Added the TSC structure. It contains information about the sampler.
8 years ago
Subv
0255cad30c
GPU: Added more fields to the TIC structure.
8 years ago
Subv
18a9536efa
GPU: Make the debug_context variable a member of the frontend instead of a global.
8 years ago
Subv
f73fb9de9d
GPU: Added a function to retrieve the active textures for a shader stage.
TODO: A shader may not use all of these textures at the same time, shader analysis should be performed to determine which textures are actually sampled.
8 years ago
Subv
0892143af9
Frontend: Updated the surface view debug widget to work with Maxwell surfaces.
8 years ago
Subv
b9b5b1e740
GPU: Implement the Incoming/FinishedPrimitiveBatch debug breakpoints.
8 years ago
Subv
10b10a14af
GPU: Implement the MaxwellCommandLoaded/Processed debug breakpoints.
8 years ago
Subv
19bf501723
Frontend: Ported the GPU breakpoints and surface viewer widgets from citra.
8 years ago
Subv
bc03dc4793
GPU: Added a method to unswizzle a texture without decoding it.
Allow unswizzling of DXT1 textures.
8 years ago
Subv
d09097276f
GPU: Preliminary work for texture decoding.
8 years ago
Subv
6234ec112b
GPU: Added viewport registers to Maxwell3D's reg structure.
8 years ago
bunnei
2920684a44
gl_rasterizer: Fake render in green, because it's cooler.
8 years ago
bunnei
454759e2a5
gl_rasterizer: Log warning instead of sync'ing unimplemented funcs.
8 years ago
bunnei
490014c459
gl_rasterizer_cache: Add missing include for vm_manager.
8 years ago
bunnei
bea2582807
renderer_opengl: Only invalidate the framebuffer region, not flush.
8 years ago
bunnei
9b2bfb9e9d
renderer_opengl: Fixes for properly flushing & rendering the framebuffer.
8 years ago
bunnei
ca08e1edee
RasterizerCacheOpenGL: FlushAll should flush full memory region.
8 years ago
bunnei
6131f96f6a
rasterizer: Flush and invalidate regions should be 64-bit.
8 years ago
bunnei
cc17ea04c4
renderer_opengl: Add framebuffer_transform_flags member variable.
8 years ago
bunnei
c2a48352ad
renderer_opengl: Better handling of framebuffer transform flags.
8 years ago
bunnei
fce77a1fb1
renderer_opengl: Use accelerated framebuffer load with LoadFBToScreenInfo.
8 years ago