Commit Graph

1021 Commits

Author SHA1 Message Date
Yuri Kunde Schlesner
407dcd141d GPU: Clean up float conversion functions 2015-09-05 16:55:45 -03:00
fincs
2707bfad93 Remove the broken GPU reset sequence which is never executed 2015-09-05 21:31:16 +02:00
fincs
604b1f4b43 Make some internal shader loading helper functions private/static 2015-09-05 20:30:24 +02:00
fincs
696ac996d1 Remove u32* gxbuf parameter in GX/GPU functions 2015-09-05 20:24:55 +02:00
fincs
5fd4a726ff Start the Great Refactor with some GPU refactoring/deprecating 2015-09-05 20:16:47 +02:00
fincs
11a5001f33 Correct GPU_DrawArray() parameter order, fix GPU examples 2015-09-05 18:02:06 +02:00
fincs
2e43fd1a40 Merge pull request #155 from Subv/vertex_offset
Use register 0x22A (GPUREG_DRAW_VERTEX_OFFSET) when using GPU_DrawArrays
2015-09-05 17:59:37 +02:00
fincs
6b45f5a01c Merge pull request #157 from endrift/master
Fix building on FreeBSD
2015-09-05 17:50:12 +02:00
fincs
e7e21fa9d5 Merge pull request #159 from Lectem/documentation
documentation for the soc service and svcCreateMemoryBlock
2015-09-05 17:46:49 +02:00
fincs
2a0e9655a6 Merge pull request #156 from Dazzozo/yay-svcs
svc: add a few more SVC bindings
2015-09-05 17:45:37 +02:00
fincs
50541234b4 Merge pull request #150 from Megazig/master
PS service key type and socket functionality
2015-09-05 17:44:26 +02:00
Lectem
98d937ebc1 Added getThreadStaticBuffers for IPC 2015-09-01 15:28:52 -04:00
Lectem
d10fc00786 Added pseudo handles for current proc and thread 2015-08-30 23:30:53 -04:00
Lectem
6ca0ab50dd documentation for svcCreateMemoryBlock 2015-08-28 14:55:49 -04:00
Lectem
84d368918e documentation for the soc service 2015-08-28 14:55:40 -04:00
fincs
6b3e38de77 Add RomFS example 2015-08-28 01:19:19 +02:00
fincs
a046b5a19f romfs_dev.c: use correct file closing function 2015-08-27 21:16:27 +02:00
fincs
570ea2ebd2 Add work in progress RomFS driver/devoptab 2015-08-27 20:53:08 +02:00
Jeffrey Pfau
0eac970aa1 Fix building on FreeBSD 2015-08-27 01:04:32 -07:00
Daz Jones
debe7a7553 svc: add a few more SVC bindings
Mostly debug and IPC related.
2015-08-23 20:29:23 +01:00
Subv
ad3dd538dc Use register 0x22A (GPUREG_DRAW_VERTEX_OFFSET) when using GPU_DrawArrays.
It will set the index of the first vertex to draw, akin to the "first" parameter of glDrawArrays.
2015-08-22 22:18:33 -05:00
fincs
24fd71c4ad GPU_KEEP -> GPU_STENCIL_KEEP in GPU examples 2015-08-22 23:14:38 +02:00
fincs
99cbb56491 Merge remote-tracking branch 'pr149/master' 2015-08-22 23:12:32 +02:00
fincs
6f9edd9bbe Merge pull request #154 from Subv/tev_buffer_color
GPU: Added code to manipulate the combiner buffer.
2015-08-22 21:20:37 +02:00
fincs
8ec9b514b0 Merge pull request #152 from Subv/stencil
Added the rest of the stencil operations and corrected their names.
2015-08-22 21:20:31 +02:00
Subv
1738893d05 GPU: Added code to manipulate the combiner buffer.
You can set an initial color value with GPUREG_TEXENV_BUFFER_COLOR, then use GPU_SetCombinerBufferWrite with GPU_TEV_BUFFER_WRITE_CONFIG to allow/disallow the TEV stages to write their color outputs to the buffer.

You can retrieve the previous buffer color using GPU_PREVIOUS_BUFFER as color source in the TEV config.
2015-08-22 11:28:30 -05:00
Subv
f1b641a4ad Added the rest of the stencil operations and corrected their names. 2015-08-21 15:10:13 -05:00
fincs
35a36b1885 Revert g_srv_handle change because srvGetSessionHandle() already existed 2015-08-19 13:29:24 +02:00
megazig
9e597a7af9 update definition of gethostbyaddr 2015-08-18 17:15:21 -05:00
megazig
8e7606692d move h_errno definition to soc_common
add h_addr member to hostent structure
implement gethostbyaddr
2015-08-18 16:55:50 -05:00
megazig
033b353128 add key type 9 (NFC) for ps service 2015-08-18 16:54:22 -05:00
smea
c49d5f49c2 Merge branch 'master' of github.com:smealum/ctrulib 2015-08-17 21:31:04 -07:00
smea
91c98308e2 am:sys stuff, g_serv_handle non static and qtm example label 2015-08-17 21:31:00 -07:00
Luke Street
1a1f3bb932 Fix gpu example Makefiles for latest picasso 2015-08-17 12:01:34 -04:00
fincs
7d63ab5050 Merge pull request #146 from Lectem/fixy2r
Fixed transfer unit and gap type and added a warning
2015-08-10 00:58:54 +02:00
Lectem
8d36f3f03b Fixed transfer unit and gap type and added a warning 2015-08-10 00:44:55 +02:00
fincs
40d972d5ba Revert 73e0267a because it breaks all existing GPU code 2015-08-04 19:31:46 +02:00
smea
9f6f7a57ec Merge pull request #143 from aroulin/fix-gpu-reset
Fix GPU_Reset having wrong GSP command buffer
2015-07-24 13:15:58 -07:00
aroulin
73e0267ae4 Fix GPU_Reset having wrong GSP command buffer 2015-07-24 21:49:49 +02:00
fincs
cc8d6d7427 Merge pull request #142 from Lectem/documentation
Some documentation
2015-07-23 22:55:24 +02:00
Lectem
ea7b0eac5d added gpu examples to doc 2015-07-23 22:41:13 +02:00
Lectem
2d7a53d75f Documented GX TRANSFER_SCALE and FILL_CONTROL 2015-07-23 21:54:48 +02:00
Lectem
894d5342a1 fixed y2r doc and added csnd pan/vol ranges 2015-07-23 21:26:37 +02:00
fincs
bf7d686e88 Add new GPU examples 2015-07-22 19:41:59 +02:00
fincs
10b81077e3 Merge pull request #140 from Lectem/patch-3
Fixed wrap_s and wrap_t
2015-07-20 00:52:10 +02:00
Lectem
4109bf5b66 Fixed wrap_s and wrap_t
Those were swapped.
2015-07-20 00:20:35 +02:00
smea
096bbdf401 added ac:i support 2015-07-15 23:40:11 -07:00
smea
acdb6e5c72 added support for qtm:s and qtm:sp 2015-07-13 23:01:50 -07:00
smea
00eb8c38dc added hid:SPVR support 2015-07-13 23:00:52 -07:00
smea
e539c83d58 Merge branch 'master' of github.com:smealum/ctrulib 2015-07-12 15:31:57 -07:00