Lioncash
2cd98a45cb
video_core: Reorganize headers
10 years ago
Yuri Kunde Schlesner
def0e7f71f
OpenGL: Remove ugly and endian-unsafe color pointer casts
10 years ago
Subv
f747cb94de
Pica: Added the primitive_restart register (0x25f) to the registers map.
10 years ago
Subv
018d0f8c8f
Pica: Add the vertex_offset register to the Pica registers map.
10 years ago
Subv
ad61138359
GPU: Implemented register 0x22A.
This is the equivalent of the "first" parameter in glDrawArrays, it tells the GPU the vertex index at which to start rendering.
Register 0x22A doesn't affect indexed rendering.
11 years ago
Yuri Kunde Schlesner
08e13a10f7
fixup! Shaders: Fix multiplications between 0.0 and inf
11 years ago
Yuri Kunde Schlesner
9a4a0cc8e0
Shaders: Fix multiplications between 0.0 and inf
The PICA200 semantics for multiplication are so that when multiplying
inf by exactly 0.0, the result is 0.0, instead of NaN, as defined by
IEEE. This is relied upon by games.
Fixes #1024 (missing OoT interface items)
11 years ago
Subv
aee8f01e0a
SWRasterizer: Implemented stencil ops 6 and 7.
IncrementWrap and DecrementWrap, verified with hwtests.
11 years ago
Subv
9a3d5a11f3
SWRasterizer: Implemented stencil action 1 (GL_ZERO).
Verified with hwtests.
11 years ago
Subv
7d816d5168
GPU/Rasterizer: Corrected the stencil implementation.
Verified the behavior with hardware tests.
11 years ago
Tony Wasserka
41dda548cd
citra-qt: Improve shader debugger.
Now supports dumping the current shader and recognizes a larger number of output semantics.
11 years ago
Patrick Martin
78b1877f9e
videocore: Added RG8 texture support
11 years ago
bunnei
5794310781
Shader: Define a common interface for running vertex shader programs.
11 years ago
Yuri Kunde Schlesner
e130dac7de
Videocore: Don't reinitialize register name map on every query
This greatly speeds up the command list debug widget.
11 years ago
Subv
009e34f08a
GPU: Added registers for min and mag texture filters and implemented them in the hw renderer.
11 years ago
Yuri Kunde Schlesner
ae985bf500
Pica: Correct switched S/T texture wrapping registers
This was found and hwtested by Lectem
11 years ago
Subv
3600c32483
Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride.
Also added its name to the texture viewer widget
11 years ago
zawata
f7050021de
Video_Core: Finally fix pesky warning
11 years ago
Tony Wasserka
33568494af
Pica/Shader: Add geometry shader definitions.
11 years ago
Lectem
d08e9b29e2
VideoCore: Implement the DOT3_RGB combiner
11 years ago
Tony Wasserka
5e79706db2
Pica: Implement stencil testing.
11 years ago
Lectem
58d1c6398e
Added GL_CLAMP_TO_BORDER support
11 years ago
Emmanuel Gil Peyrot
22ae87530b
Common: Cleanup emu_window includes.
11 years ago
Yuri Kunde Schlesner
9b7d85a4f5
video_core: add extra braces around initializer
Trivial change and fixes several warnings in the clang build.
11 years ago
bunnei
33b9abb91e
Pica: Use zero for the SecondaryFragmentColor source.
- This is a workaround until we support fragment lighting.
11 years ago
bunnei
e6ace38815
Pica: Implement LogicOp function.
11 years ago
bunnei
02c9fe202c
Pica: Implement command buffer execution registers.
11 years ago
archshift
5df2d1b5f7
Move video_core/math.h to common/vector_math.h
The file only contained vector manipulation code, and such widely-useable code doesn't belong in video_core.
11 years ago
Emmanuel Gil Peyrot
b1503b2020
Remove every trailing whitespace from the project (but externals).
11 years ago
bunnei
1b42d55a9d
Pica: Create 'State' structure and move state memory there.
11 years ago
tfarley
05dc633a8c
OpenGL renderer
11 years ago
Yuri Kunde Schlesner
7ada357b2d
Memmap: Re-organize memory function in two files
memory.cpp/h contains definitions related to acessing memory and
configuring the address space
mem_map.cpp/h contains higher-level definitions related to configuring
the address space accoording to the kernel and allocating memory.
11 years ago
Lioncash
497f4bee0c
pica: Add the ULL specifier in IsDefaultAttribute
This is necessary otherwise there are warnings about a 32-bit result being casted to a 64-bit value.
11 years ago
archshift
40310e2132
Implement I4 texture format
@neobrain , could you confirm that this is correct?
It's been tested with various different games and fixes different textures, including in Animal Crossing, Kirby Triple Deluxe, and SMB3D.
11 years ago
bunnei
23e8be573e
rasterizer: Implemented combiner output scaling.
11 years ago
bunnei
547da374b8
rasterizer: Fixed a depth testing bug.
11 years ago
bunnei
a806b420a6
rasterizer: Implement combiner buffer input.
11 years ago
Yuri Kunde Schlesner
28a9e4c1d5
Memory: Support more regions in the VAddr-PAddr translation functions
Also adds better documentation and removes the one-off reimplementation
of the function in pica.h.
11 years ago
Yuri Kunde Schlesner
1c0b87edc2
Memory: Re-organize and rename memory area address constants
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
Subv
0e5ca080a8
GPU: Implemented default vertex shader attributes.
Fixes some games crashing.
11 years ago
Subv
1248e291f0
GPU: Added the stencil test structure to the Pica Regs struct.
11 years ago
Subv
414b0741c4
GPU: Implemented more depth buffer formats.
This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others
11 years ago
bunnei
34c31db14a
GPU: Added RGB565/RGB8 framebuffer support and various cleanups.
- Centralizes color format encode/decode functions.
- Fixes endianness issues.
- Implements remaining framebuffer formats in the debugger.
11 years ago
archshift
7f9ee69a2b
Added RGBA5551 compatibility in the rasterizer
This allows Virtual Console games to display properly.
11 years ago
archshift
302f0b32f5
Remove duplication of INSERT_PADDING_WORDS between pica.h and gpu.h
11 years ago
Tony Wasserka
1561204342
Pica/BlendUnit: Implement separate color/alpha blend equations.
11 years ago
Tony Wasserka
e11fb96408
Pica/TextureEnvironment: Treat texture combiner source 1 as the PrimaryColor.
Not really sure where the difference is, but some applications seem to use this 1:1 the same way...
11 years ago
Tony Wasserka
04cd06d5c2
Pica/TextureEnvironment: Add support for the MAD-like texture combiners and clean up texture environment logic.
11 years ago
Tony Wasserka
6ca752ccbc
Pica/TextureUnit: Implement mirrored repeating texture wrapping.
11 years ago