summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-23VideoCore: Saturate vertex colors before interpolatingYuri Kunde Schlesner
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.
2015-07-23Merge pull request #977 from yuriks/glenable-tex2dbunnei
GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) calls
2015-07-23Merge pull request #979 from Subv/border_colorbunnei
Rasterizer/GL: Set the border color when binding a texture.
2015-07-22Rasterizer/GL: Set the border color when binding a texture.Subv
2015-07-22GL Renderer: Remove erroneous glEnable(GL_TEXTURE_2D) callsYuri Kunde Schlesner
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.
2015-07-21Merge pull request #968 from Subv/texture_filteringbunnei
GPU: Added registers for min and mag texture filters
2015-07-21Merge pull request #962 from Subv/am_appbunnei
Services/AM: Stubbed am:app::GetNumContentInfos to return 0 results.
2015-07-21GPU: Added registers for min and mag texture filters and implemented them in ↵Subv
the hw renderer.
2015-07-21Merge pull request #966 from Subv/logbunnei
Services/Logging: Log more useful information when some operations fail.
2015-07-21Services/Logging: Log more useful information when some operations fail.Subv
Namely OpenFileDirectly, OpenDirectory and OpenArchive
2015-07-21Merge pull request #957 from Subv/hwtest_crashbunnei
Kernel/Scheduling: Clean up a thread's wait_objects when its scheduled.
2015-07-21Merge pull request #929 from neobrain/geoshader_definitionsTony Wasserka
Pica/Shader: Add geometry shader definitions.
2015-07-21Merge pull request #964 from lioncash/svcLioncash
dyncom: Pass SVC immediates directly.
2015-07-21Resolve issue accidentally left unaddressed in PR #930Yuri Kunde Schlesner
2015-07-21dyncom: Pass SVC immediates directly.Lioncash
Previously it would just re-read the already decoded instruction and extract the immediate value.
2015-07-21Merge pull request #959 from Subv/homeSebastian Valle
Services/CFG: Added some missing functions to cfg:s
2015-07-21Services/AM: Stubbed am:app::GetNumContentInfos to return 0 results.Subv
Named the service functions in am:app as per 3dbrew. This fixes an illegal read loop in Steel Diver
2015-07-20Merge pull request #930 from neobrain/copypaste_commandlistYuri Kunde Schlesner
citra-qt: Add support for copying the command list contents to clipboard.
2015-07-20Services/CFG: Added some missing functions to cfg:sSubv
2015-07-20Kernel/Scheduling: Clean up a thread's wait_objects when its scheduled.Subv
They'll be reset if needed during the next svcWaitSynchronization call (if there's any pending)
2015-07-20Merge pull request #939 from Subv/queryprocmembunnei
Kernel/SVC: Implemented svcQueryProcessMemory
2015-07-19Merge pull request #951 from Subv/bit5bunnei
GPU/DisplayTransfer: Implemented bit 5 in the transfer flags.
2015-07-19Merge pull request #944 from Subv/spambunnei
GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't exist.
2015-07-19Merge pull request #946 from archshift/update-frdubunnei
Add more frd:u unknown service commands from 3dbrew
2015-07-19GPU/DisplayTransfer: Implemented bit 5 in the transfer flags.Subv
It tells the GPU to not swizzle/de-swizzle the input during the transfer.
2015-07-19Merge pull request #950 from lioncash/bxLioncash
dyncom: Properly retrieve the PC value in BX if used.
2015-07-19dyncom: Properly retrieve the PC value in BX if used.Lioncash
2015-07-20Merge pull request #949 from yuriks/fix-stTony Wasserka
Pica: Correct switched S/T texture wrapping registers.
2015-07-19Pica: Correct switched S/T texture wrapping registersYuri Kunde Schlesner
This was found and hwtested by Lectem
2015-07-20Merge pull request #948 from yuriks/fix-dp3Tony Wasserka
Pica/VertexShader: Fix DP3 instruction, which wasn't assigning to the w component.
2015-07-19Pica: Fix DP3 instruction, which wasn't assigning to the w componentYuri Kunde Schlesner
2015-07-19Merge pull request #947 from archshift/hex-logYuri Kunde Schlesner
Change trace/unimplemented service call logs to use hex
2015-07-19Change trace/unimplemented service call logs to use hexarchshift
Changes the log to use hex in the parameter list instead of decimal.
2015-07-19Add more frd:u unknown service commands from 3dbrewarchshift
2015-07-19GLRasterizer: Don't try to get a pointer to the depth buffer if it doesn't ↵Subv
exist.
2015-07-19Merge pull request #943 from Subv/ia4Tony Wasserka
Rasterizer/Textures: Fixed a bug where the I4 format would get twice the real stride.
2015-07-19Rasterizer/Textures: Fixed a bug where the I4 format would get twice the ↵Subv
real stride. Also added its name to the texture viewer widget
2015-07-18Merge pull request #941 from citra-emu/armv6-thumb-movYuri Kunde Schlesner
Dyncom: Support for a new ARMv6 Thumb MOV encoding
2015-07-18Merge pull request #942 from linkmauve/masterTony Wasserka
Remove the unused and commented GetThemeDir prototype from FileUtil
2015-07-18Common: Remove the unused and commented GetThemeDir prototype from FileUtil.Emmanuel Gil Peyrot
2015-07-18Dyncom: Support for a missing ARMv6 Thumb MOV encodingYuri Kunde Schlesner
2015-07-17Kernel/SVC: Implemented svcQueryProcessMemorySubv
2015-07-17Merge pull request #938 from Subv/querymemYuri Kunde Schlesner
Kernel/SVC: Implemented svcQueryMemory.
2015-07-17Kernel/SVC: Implemented svcQueryMemory.Subv
2015-07-17Merge pull request #937 from yuriks/codeset-leakbunnei
Ensure all kernel objects are released during shutdown
2015-07-17Ensure all kernel objects are released during shutdownYuri Kunde Schlesner
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.
2015-07-16Merge pull request #936 from archshift/kill-sourceforgearchshift
Update homebrew before building, which no longer uses SourceForge
2015-07-16Update homebrew before building, which no longer uses SourceForgearchshift
2015-07-16Merge pull request #935 from lioncash/smlawYuri Kunde Schlesner
arm_dyncom_interpreter: Simplify assignment in SMLAW
2015-07-16arm_dyncom_interpreter: Simplify assignment in SMLAWLioncash
Also a side-benefit of not having implementation-defined behavior.