wwylele
8285ca4ad8
pica/shader/jit: implement SETEMIT and EMIT
9 years ago
wwylele
36981a5aa6
pica/primitive_assembly: Handle winding for GS primitive
hwtest shows that, although GS always emit a group of three vertices as one primitive, it still respects to the topology type, as if the three vertices are input into the primitive assembler independently and sequentially. It is also shown that the winding flag in SETEMIT only takes effect for Shader topology type, which is believed to be the actual difference between List and Shader (hence removed the TODO). However, only Shader topology type is observed in official games when GS is in use, so the other mode seems to be just unintended usage.
9 years ago
wwylele
bb63ae3052
correct constness
9 years ago
wwylele
28128348f2
pica/shader/interpreter: implement SETEMIT and EMIT
9 years ago
wwylele
46c6973d2b
pica/shader: extend UnitState for GS
Among four shader units in pica, a special unit can be configured to run both VS and GS program. GSUnitState represents this unit, which extends UnitState (which represents the other three normal units) with extra state for primitive emitting. It uses lots of raw pointers to represent internal structure in order to keep it standard layout type for JIT to access.
This unit doesn't handle triangle winding (inverting) itself; instead, it calls a WindingSetter handler. This will be explained in the following commits
9 years ago
wwylele
223bd35450
motion_emu: no need to include thread in header
9 years ago
MerryMage
b67c2dc82c
dsp_dsp: Remove size assertion in LoadComponent
8 years ago
Dave Leaver
bf71fc0342
Fix Spelling/English mistakes
9 years ago
wwylele
686fb3e78c
gl_shader_gen: don't call SampleTexture when bump map is not used
9 years ago
wwylele
188194908c
move MotionEmu from core/frontend to input_common as a InputDevice
9 years ago
wwylele
867eabd6b7
HID: use MotionDevice for Accelerometer and Gyroscope
9 years ago
danzel
8d3f48d0a3
Fix some spelling mistakes
9 years ago
wwylele
945f9a1b04
SwRasterizer/Lighting: implement spot light
9 years ago
wwylele
14ee32c46a
SwRasterizer/Lighting: implement geometric factor
9 years ago
wwylele
599de29ea3
HID: zero unused PadState bits
9 years ago
wwylele
5d9d42f0d0
SwRasterizer/Lighting: use make_tuple instead of constructor
implicit tuple constructor is a c++17 thing, which is not supported by some not-so-old libraries. Play safe for now
9 years ago
wwylele
db309b2423
pica/regs: layout geometry shader configuration regs
All the register meanings are derived from ctrulib (3dbrew is outdated for most of them)
9 years ago
mailwl
a6273dd56a
Service/dlp: Update function tables according 3dbrew
9 years ago
James
1a44949ef7
Update cryptopp
9 years ago
Subv
177e8ce655
Services/APT: Use the AppletAttributes union directly when dealing with applet attrs.
9 years ago
Subv
73fba0de46
Services/APT: Use an array to hold data about the 4 possible concurrent applet types (Application, Library, HomeMenu, System).
This gives each applet type its own set of events as per the real NS module.
9 years ago
wwylele
baa24f4ea9
pica: upload shared shader code to both unit
9 years ago
Andrea Pascal
f55b7aefd9
Quickfix typo in OpenGL 3.3 error message
User pointed out on the Discord server that "nothave" is erroneously concatenated. Added a space to prevent it.
9 years ago
bunnei
fb8de89859
telemetry: Add field for OsPlatform.
9 years ago
bunnei
9390d54bb3
telemetry: Add field for BuildName.
9 years ago
bunnei
5c631ec9c5
telemetry: Add field for RequiresSharedFont.
9 years ago
bunnei
a621ab6853
telemetry_session: Log BuildDate and ProgramName fields.
9 years ago
bunnei
f44a1e0291
common: Add build timestamp to scm_rev.
9 years ago
bunnei
9b8e5bea66
core: Expose AppLoader as a public interface.
9 years ago
bunnei
f5cf9960d9
loader: Expose program title.
9 years ago
wwylele
2252a63f80
SwRasterizer/Lighting: shorten file name
9 years ago
wwylele
eda28266fb
SwRasterizer/Lighting: move to its own file
9 years ago
wwylele
48b4105871
SwRasterizer/Lighting: reduce confusion
9 years ago
wwylele
c59ed47608
SwRasterizer/Lighting: move quaternion normalization to the caller
9 years ago
James
941a722ff1
Handle invalid filenames when renaming files/directories
9 years ago
wwylele
c89f804a01
pica/shader_interpreter: fix off-by-one in LOOP
9 years ago
B3n30
718423e506
Network: Moved NintendoOUI initalization to RoomMember constructor
9 years ago
MerryMage
a08edd67eb
tests: Add tests for vadd
9 years ago
MerryMage
567c3a2ee7
tests: Arm testing framework
9 years ago
Subv
e59ab7c1d6
Service/APT: Log Send/Cancel/Receive/GlanceParameter calls even if they return an error.
9 years ago
Subv
68596a7068
Services/APT: Return the proper error code when calling SendParameter with an outstanding parameter already in memory.
9 years ago
Subv
a9bc417f59
Services/APT: Reset the APT parameter inside CancelParameter if the conditions are met.
9 years ago
Subv
e403638d9b
Services/APT: Properly clear the apt parameter after a successful ReceiveParameter call.
9 years ago
Subv
2dc720c355
Services/APT: Use the right error codes in ReceiveParameter and GlanceParameter when the parameter doesn't exist.
9 years ago
Subv
5682608df7
Services/APT: Use boost::optional for the APT parameter structure.
9 years ago
wwylele
49602139c8
debugger/shader: display LOOP
9 years ago
wwylele
b5609e1578
debugger/shader: print the invert flag for JMPU
9 years ago
wwylele
8375fd2aba
debugger/shader: fix address register for reverted arithmetic op
9 years ago
wwylele
98cd5164c5
debugger/shader: fix inverted uniform flow control
9 years ago
bunnei
df8b9863f9
telemetry: Log performance, configuration, and system data.
9 years ago