Subv
34b212c6a8
GL: Remove remaining references to 3DS-specific pixel formats
8 years ago
Subv
6400a3bb35
RasterizerCache: Remove 3DS-specific pixel formats.
We're only left with RGB8 and DXT1 for now. More will be added as they are needed.
8 years ago
Subv
ab6d7991f8
GL: Create the sampler objects when starting up the GL rasterizer.
8 years ago
Subv
232ffe85ad
GL: Ported the SamplerInfo struct from citra.
8 years ago
Subv
dc26ad9aec
GL: Rename PicaTexture to MaxwellTexture.
8 years ago
Subv
3c9cbbca68
GL: Added functions to convert Maxwell tex filters and wrap modes to OpenGL.
8 years ago
Subv
d9e067fad6
Textures: Added a helper function to know if a texture is blocklinear or pitch.
8 years ago
N00byKing
63b5de9c40
rasterizer_interface.h: Update from citra to yuzu
8 years ago
N00byKing
b84397745f
gl_rasterizer_cache.cpp: Update from citra to yuzu
8 years ago
N00byKing
3ca8768d3a
gl_rasterizer_cache.h: Update from citra to yuzu
8 years ago
N00byKing
2a2af539f3
renderer_opengl.h: Update from citra to yuzu
8 years ago
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