James Benton
|
411cc5b4d9
|
Fix copy-pasta in fetchshader compiler
|
2015-11-17 01:51:26 +00:00 |
|
James Benton
|
f2d36dbab2
|
Fix pm4 buffer overflow copying wrong data size to new buffer.
|
2015-11-17 01:51:20 +00:00 |
|
James Benton
|
714763096c
|
More shader generation stuff.
|
2015-11-17 01:51:09 +00:00 |
|
Brett Lawson
|
43eb907673
|
Fix issue causing incorrect register location calculations.
|
2015-11-16 22:11:05 -04:00 |
|
Brett Lawson
|
e6def15aab
|
Expand the Driver methods to include most of pm4.
|
2015-11-17 00:25:55 -04:00 |
|
Brett Lawson
|
00dccf77d5
|
Implement GX2SetVertexUniformReg.
|
2015-11-16 21:39:41 -04:00 |
|
James Benton
|
54b252e3fc
|
Start thinking about some shader stuff.
|
2015-11-17 01:34:52 +00:00 |
|
James Benton
|
f915d9229d
|
Add resource base offsets.
|
2015-11-17 01:33:54 +00:00 |
|
Brett Lawson
|
18992e4b29
|
Implement GX2GetXXShaderGPRs and GX2GetXXShaderStackEntries.
|
2015-11-16 21:30:35 -04:00 |
|
Brett Lawson
|
daa3f972be
|
Implement GX2SetShaderModeEx.
|
2015-11-16 17:22:58 -04:00 |
|
Brett Lawson
|
da54cd3da9
|
Implement PM4 commands for pixel/vertex uniform blocks.
|
2015-11-16 00:46:31 -04:00 |
|
Brett Lawson
|
838412d00c
|
Implement custom swapping pm4 commands for Decaf.
|
2015-11-16 14:01:29 -04:00 |
|
James Benton
|
ed91b1849e
|
Merge branch 'pm4' of github.com:decaf-emu/decaf-emu into pm4
|
2015-11-16 02:24:59 +00:00 |
|
Brett Lawson
|
81d23dd4da
|
Fix UniformInitialValue endianness.
|
2015-11-16 13:16:26 -04:00 |
|
James Benton
|
4b0f3d4029
|
Big endian GX2DepthBuffer.
|
2015-11-16 01:19:33 +00:00 |
|
James Benton
|
98f13c4a90
|
Big endian GX2ColorBuffer.
|
2015-11-16 01:19:25 +00:00 |
|
James Benton
|
cdc4106a3b
|
Big endian GX2PixelShader.
|
2015-11-16 01:19:18 +00:00 |
|
James Benton
|
329b6d26e6
|
Big endian GX2FetchShader.regs
|
2015-11-16 01:19:04 +00:00 |
|
James Benton
|
0a668ffffe
|
Big endian GX2BlendConstantColorReg.
|
2015-11-16 01:18:54 +00:00 |
|
James Benton
|
61f1f0a55d
|
Big endian GX2DepthStencilControlReg
|
2015-11-16 01:18:42 +00:00 |
|
James Benton
|
74abde7f3f
|
Big endian GX2BlendControlReg.
|
2015-11-16 01:18:33 +00:00 |
|
James Benton
|
4a59756ebb
|
Make GX2Texture registers big endian
|
2015-11-16 01:18:23 +00:00 |
|
James Benton
|
144138e065
|
Set GX2VertexShader registers to big endian.
Introduces be_array.
|
2015-11-16 00:47:45 +00:00 |
|
Brett Lawson
|
245a89f01f
|
Fix byte-order of the GX2Sampler registers.
|
2015-11-15 21:35:47 -04:00 |
|
Brett Lawson
|
71807ee8ba
|
Implement SetXXXSampler stuff.
|
2015-11-15 21:24:35 -04:00 |
|
Brett Lawson
|
fd930628ae
|
Implement GX2SetFetchShader and GX2SetPixelShader.
|
2015-11-16 11:00:53 -04:00 |
|
James Benton
|
54268d11fe
|
Implement a minimal GX2InitColorBufferRegs & GX2InitDepthBufferRegs.
|
2015-11-15 23:51:52 +00:00 |
|
James Benton
|
5527b73e67
|
Implement GX2SetDepthBuffer.
|
2015-11-15 23:51:46 +00:00 |
|
James Benton
|
452d7abda6
|
Add dumped surface format data.
|
2015-11-15 23:51:31 +00:00 |
|
James Benton
|
c35ea2a82d
|
Implement GX2InitTextureRegs and GX2SetPixelTexture.
|
2015-11-15 22:30:25 +00:00 |
|
James Benton
|
bef84f0295
|
Fetch Shader compilation now hopefully works for NoTessellation types.
|
2015-11-15 13:10:24 +00:00 |
|
James Benton
|
fb1c061914
|
Fix spleling of teSSeLLation.
|
2015-11-15 12:44:59 +00:00 |
|
James Benton
|
3932ad55bb
|
Refactor some fetchshader stuff.
|
2015-11-14 18:39:07 +00:00 |
|
James Benton
|
81b4625e37
|
Implement GX2SetPixelUniformReg.
|
2015-11-14 18:38:55 +00:00 |
|
James Benton
|
2092b022bd
|
Start fetch shader compiler.
|
2015-11-14 17:01:23 +00:00 |
|
James Benton
|
5945e7e743
|
Split latte enum/registers across a few files.
|
2015-11-14 16:55:46 +00:00 |
|
Brett Lawson
|
b02e8e38a4
|
Why are we putting ourselves through this pain.
|
2015-11-14 00:16:05 -04:00 |
|
Brett Lawson
|
e505b9e28c
|
Properly handle multiple setContextReg registers.
|
2015-11-13 23:05:12 -04:00 |
|
James Benton
|
515ff6f281
|
Fix glbinding pch and project dependency.
|
2015-11-14 02:27:01 +00:00 |
|
James Benton
|
1c081f2307
|
Enough registers to make a man go mad.
|
2015-11-14 00:19:57 +00:00 |
|
James Benton
|
cb661a1ada
|
Fix pm4_writer buffer overrun handling.
|
2015-11-13 00:48:40 +00:00 |
|
James Benton
|
e9357b338d
|
Make allocation of command buffer on non main gx2 core a no-op.
Seems like the WiiU would let this gracefully fail.
Should keep a close eye on this though.
|
2015-11-13 00:35:36 +00:00 |
|
James Benton
|
b1dee91f0d
|
Make many broken things in to less broke things.
|
2015-11-13 00:35:31 +00:00 |
|
James Benton
|
282269b668
|
Complete implementation of GX2LoadState.
|
2015-11-12 23:58:05 +00:00 |
|
James Benton
|
411dc9a939
|
Implement proper display lists.
|
2015-11-12 23:48:46 +00:00 |
|
James Benton
|
c1dfbccca2
|
Move GX2 clear functions to their own file, gx2_clear
|
2015-11-12 23:48:39 +00:00 |
|
James Benton
|
caf20daf62
|
Fix oopsy.
|
2015-11-12 22:57:20 +00:00 |
|
James Benton
|
461be702a3
|
Add BlendConstantColorReg.
|
2015-11-12 22:57:07 +00:00 |
|
James Benton
|
5c0cc73f23
|
Implement GX2WaitTimeStamp.
Should work... But it's not the best implementation,
not sure if there is a better way yet.
|
2015-11-12 22:55:18 +00:00 |
|
James Benton
|
456829babf
|
Not sure about this yet, might be useful.
|
2015-11-12 22:54:32 +00:00 |
|