Yuri Kunde Schlesner
4e09202226
VideoCore: Saturate vertex colors before interpolating
During testing, it was discovered that hardware does not interpolate
colors output by the vertex shader as-is. Rather, it drops the sign and
saturates the value to 1.0. This is done before interpolation, such that
(e.g.) interpolating outputs 1.5 and -0.5 is equivalent to as if the
shader had output the values 1.0 and 0.5 instead, with the interpolated
value never crossing 0.0.
This change has been tested against hardware.
11 years ago
bunnei
cea45af64d
Merge pull request #977 from yuriks/glenable-tex2d
GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
11 years ago
bunnei
f602bb9af6
Merge pull request #979 from Subv/border_color
Rasterizer/GL: Set the border color when binding a texture.
11 years ago
Subv
7b4961e968
Rasterizer/GL: Set the border color when binding a texture.
11 years ago
Yuri Kunde Schlesner
e5c4fe0098
GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
In OpenGL 3, texturing is always enabled, and this call is invalid.
While it produced no effect in the rest of the execution, it wouldn't
have the intended effect of disabling texturing for that unit. Instead
bind a null texture to the unit.
11 years ago
bunnei
3a5352baf8
Merge pull request #968 from Subv/texture_filtering
GPU: Added registers for min and mag texture filters
11 years ago
bunnei
4a9e97d67d
Merge pull request #962 from Subv/am_app
Services/AM: Stubbed am:app::GetNumContentInfos to return 0 results.
11 years ago
Subv
009e34f08a
GPU: Added registers for min and mag texture filters and implemented them in the hw renderer.
11 years ago
bunnei
d0b45d45b5
Merge pull request #966 from Subv/log
Services/Logging: Log more useful information when some operations fail.
11 years ago
Subv
f5bff67b0b
Services/Logging: Log more useful information when some operations fail.
Namely OpenFileDirectly, OpenDirectory and OpenArchive
11 years ago
bunnei
dcc8f1bef2
Merge pull request #957 from Subv/hwtest_crash
Kernel/Scheduling: Clean up a thread's wait_objects when its scheduled.
11 years ago
Tony Wasserka
aa6dfdb827
Merge pull request #929 from neobrain/geoshader_definitions
Pica/Shader: Add geometry shader definitions.
11 years ago
Lioncash
043b2f882a
Merge pull request #964 from lioncash/svc
dyncom: Pass SVC immediates directly.
11 years ago
Yuri Kunde Schlesner
a48aa4f924
Resolve issue accidentally left unaddressed in PR #930
11 years ago
Lioncash
c2689b8c2c
dyncom: Pass SVC immediates directly.
Previously it would just re-read the already decoded instruction and extract the immediate value.
11 years ago
Sebastian Valle
baba0efcd1
Merge pull request #959 from Subv/home
Services/CFG: Added some missing functions to cfg:s
11 years ago
Subv
13f93a0188
Services/AM: Stubbed am:app::GetNumContentInfos to return 0 results.
Named the service functions in am:app as per 3dbrew.
This fixes an illegal read loop in Steel Diver
11 years ago
Yuri Kunde Schlesner
8833852acd
Merge pull request #930 from neobrain/copypaste_commandlist
citra-qt: Add support for copying the command list contents to clipboard.
11 years ago
Subv
38a7f1b727
Services/CFG: Added some missing functions to cfg:s
11 years ago
Subv
275aaeef9c
Kernel/Scheduling: Clean up a thread's wait_objects when its scheduled.
They'll be reset if needed during the next svcWaitSynchronization call (if there's any pending)
11 years ago
bunnei
cd2bb2dc69
Merge pull request #939 from Subv/queryprocmem
Kernel/SVC: Implemented svcQueryProcessMemory
11 years ago
bunnei
863a963911
Merge pull request #951 from Subv/bit5
GPU/DisplayTransfer: Implemented bit 5 in the transfer flags.
11 years ago
bunnei
9a3b21bcf9
Merge pull request #944 from Subv/spam
GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist.
11 years ago
bunnei
21a696abde
Merge pull request #946 from archshift/update-frdu
Add more frd:u unknown service commands from 3dbrew
11 years ago
Subv
63dbff9b1f
GPU/DisplayTransfer: Implemented bit 5 in the transfer flags.
It tells the GPU to not swizzle/de-swizzle the input during the transfer.
11 years ago
Lioncash
25652e5cd5
Merge pull request #950 from lioncash/bx
dyncom: Properly retrieve the PC value in BX if used.
11 years ago
Lioncash
a2f0a3d019
dyncom: Properly retrieve the PC value in BX if used.
11 years ago
Tony Wasserka
1c81813b72
Merge pull request #949 from yuriks/fix-st
Pica: Correct switched S/T texture wrapping registers.
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
Tony Wasserka
74b8c5947b
Merge pull request #948 from yuriks/fix-dp3
Pica/VertexShader: Fix DP3 instruction, which wasn't assigning to the w component.
11 years ago
Yuri Kunde Schlesner
5a75cf8fd2
Pica: Fix DP3 instruction, which wasn't assigning to the w component
11 years ago
Yuri Kunde Schlesner
618434d7fc
Merge pull request #947 from archshift/hex-log
Change trace/unimplemented service call logs to use hex
11 years ago
archshift
84a88005e2
Change trace/unimplemented service call logs to use hex
Changes the log to use hex in the parameter list instead of decimal.
11 years ago
archshift
d1e6afaba1
Add more frd:u unknown service commands from 3dbrew
11 years ago
Subv
a694caeee0
GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist.
11 years ago
Tony Wasserka
ef828a1cdd
Merge pull request #943 from Subv/ia4
Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride.
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
Yuri Kunde Schlesner
71be5853e0
Merge pull request #941 from citra-emu/armv6-thumb-mov
Dyncom: Support for a new ARMv6 Thumb MOV encoding
11 years ago
Tony Wasserka
6c7d626390
Merge pull request #942 from linkmauve/master
Remove the unused and commented GetThemeDir prototype from FileUtil
11 years ago
Emmanuel Gil Peyrot
fcdc8118eb
Common: Remove the unused and commented GetThemeDir prototype from FileUtil.
11 years ago
Yuri Kunde Schlesner
13286903e6
Dyncom: Support for a missing ARMv6 Thumb MOV encoding
11 years ago
Subv
83fa3f977d
Kernel/SVC: Implemented svcQueryProcessMemory
11 years ago
Yuri Kunde Schlesner
41513cfb0c
Merge pull request #938 from Subv/querymem
Kernel/SVC: Implemented svcQueryMemory.
11 years ago
Subv
9e2962081a
Kernel/SVC: Implemented svcQueryMemory.
11 years ago
bunnei
32be6a4553
Merge pull request #937 from yuriks/codeset-leak
Ensure all kernel objects are released during shutdown
11 years ago
Yuri Kunde Schlesner
dc39d06950
Ensure all kernel objects are released during shutdown
This commit fixes several kernel object leaks. The most severe of them
was threads not being removed from the private handle table used for
CoreTiming events. This resulted in Threads never being released, which
in turn held references to Process, causing CodeSets to never be freed
when loading other applications.
11 years ago
archshift
c7788d9b83
Merge pull request #936 from archshift/kill-sourceforge
Update homebrew before building, which no longer uses SourceForge
11 years ago
archshift
dfea8e9109
Update homebrew before building, which no longer uses SourceForge
11 years ago
Yuri Kunde Schlesner
8932b23dcc
Merge pull request #935 from lioncash/smlaw
arm_dyncom_interpreter: Simplify assignment in SMLAW
11 years ago
Lioncash
23dbbb786a
arm_dyncom_interpreter: Simplify assignment in SMLAW
Also a side-benefit of not having implementation-defined behavior.
11 years ago