summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* nvflinger: Remove unnecessary header inclusionsGravatar Lioncash2019-01-291-2/+0
|
* nvflinger: Mark locals const where applicableGravatar Lioncash2019-01-291-11/+11
| | | | Makes non-mutable state more explicit.
* nvflinger: Use a std::array for the available displays instead of std::vectorGravatar Lioncash2019-01-292-7/+7
| | | | | The built-in set of displays is fixed, so we can utilize an array instead of a vector here.
* hle/ipc_helpers: Fix clang-format warningsGravatar Lioncash2019-01-291-1/+0
|
* hle/ipc_helpers: Allow pushing signed valuesGravatar Lioncash2019-01-291-0/+22
| | | | | This is kind of a large hole in the API, given we allow popping signed values. This fixes that.
* Merge pull request #2063 from lioncash/pessimizingGravatar bunnei2019-01-282-6/+6
|\ | | | | video_core/shader: Minor changes
| * shader/shader_ir: Amend three comment typosGravatar Lioncash2019-01-281-3/+3
| | | | | | | | | | Given we're in the area, these are three trivial typos that can be corrected.
| * shader/shader_ir: Amend constructor initializer ordering for AbufNodeGravatar Lioncash2019-01-281-2/+2
| | | | | | | | | | Orders the class members in the same order that they would actually be initialized in. Gets rid of two compiler warnings.
| * shader/decode: Avoid a pessimizing std::move within DecodeRange()Gravatar Lioncash2019-01-281-1/+1
| | | | | | | | | | | | std::moveing a local variable in a return statement has the potential to prevent copy elision from occurring, so this can just be converted into a regular return.
* | service/pm: Implement SetMaintenanceBoot()Gravatar Lioncash2019-01-281-1/+10
| | | | | | | | | | | | | | This quite literally functions as a basic setter. No other error checking or anything (since there's nothing to really check against). With this, it completes the pm:bm interface in terms of functionality.
* | service/pm: Tidy up functionality related to SystemBootModeGravatar Lioncash2019-01-282-2/+9
| | | | | | | | Just minor tidying of interfaces.
* | service/vi: Remove stubbed notifier from SetLayerVisibilityGravatar Lioncash2019-01-281-2/+3
|/ | | | | | | | | | This appears to be a vestigial API function that's only kept around for compatibility's sake, given the function only returns a success error code and exits. Since that's the case, we can remove the stubbed notification from the log, since doing nothing is technically the correct behavior in this case.
* Merge pull request #2060 from lioncash/exceptionGravatar bunnei2019-01-271-0/+4
|\ | | | | kernel/svc: Log out uncaught C++ exceptions from svcBreak
| * kernel/svc: Log out uncaught C++ exceptions from svcBreakGravatar Lioncash2019-01-261-0/+4
| | | | | | | | | | | | | | | | | | | | Looking into the implementation of the C++ standard facilities that seem to be within all modules, it appears that they use 7 as a break reason to indicate an uncaught C++ exception. This was primarily found via the third last function called within Horizon's equivalent of libcxxabi's demangling_terminate_handler(), which passes the value 0x80000007 to svcBreak.
* | Merge pull request #2058 from ReinUsesLisp/trunc-warningGravatar bunnei2019-01-271-3/+4
|\ \ | | | | | | video_core: Silent implicit conversion warning
| * | video_core: Silent implicit conversion warningGravatar ReinUsesLisp2019-01-261-3/+4
| |/
* / dsp_interface: fix sound being played while volume is 0Gravatar fearlessTobi2019-01-261-1/+1
|/ | | | | According to documentation, if the argument of std::exp is zero, one is returned. However we want the return value to be also zero in this case so no audio is played.
* Merge pull request #1927 from ReinUsesLisp/shader-irGravatar bunnei2019-01-2539-3808/+5497
|\ | | | | video_core: Replace gl_shader_decompiler with an IR based decompiler
| * shader_ir: Fixup clang buildGravatar ReinUsesLisp2019-01-151-4/+6
| |
| * gl_shader_decompiler: replace std::get<> with std::get_if<> for macOS ↵Gravatar ReinUsesLisp2019-01-151-44/+58
| | | | | | | | compatibility
| * gl_shader_decompiler: Inline textureGather componentGravatar ReinUsesLisp2019-01-151-15/+16
| |
| * shader_decode: Fixup XMADGravatar ReinUsesLisp2019-01-151-1/+1
| |
| * shader_ir: Pass to decoder functions basic block's codeGravatar ReinUsesLisp2019-01-1527-82/+83
| |
| * shader_decode: Improve zero flag implementationGravatar ReinUsesLisp2019-01-1515-75/+79
| |
| * shader_ir: Remove composite primitives and use temporals insteadGravatar ReinUsesLisp2019-01-154-241/+224
| |
| * gl_shader_decompiler: Fixup AssignCompositeHalfGravatar ReinUsesLisp2019-01-151-1/+1
| |
| * shader_decode: Use proper primitive namesGravatar ReinUsesLisp2019-01-154-25/+21
| |
| * shader_decode: Use BitfieldExtract instead of shift + andGravatar ReinUsesLisp2019-01-158-48/+37
| |
| * shader_ir: Remove Ipa primitiveGravatar ReinUsesLisp2019-01-153-13/+2
| |
| * gl_shader_decompiler: Use rasterizer's UBO size limitGravatar ReinUsesLisp2019-01-151-1/+3
| |
| * gl_shader_gen: Fixup code formattingGravatar ReinUsesLisp2019-01-152-18/+22
| |
| * video_core: Rename glsl_decompiler to gl_shader_decompilerGravatar ReinUsesLisp2019-01-157-7/+7
| |
| * shader_ir: Remove RZ and use Register::ZeroIndex insteadGravatar ReinUsesLisp2019-01-153-12/+16
| |
| * shader_decode: Implement TEXS.F16Gravatar ReinUsesLisp2019-01-153-15/+57
| |
| * shader_decode: Fixup R2PGravatar ReinUsesLisp2019-01-151-2/+3
| |
| * glsl_decompiler: Fixup TLDSGravatar ReinUsesLisp2019-01-151-1/+0
| |
| * glsl_decompiler: Fixup geometry shadersGravatar ReinUsesLisp2019-01-152-15/+17
| |
| * shader_decode: Fixup WriteLogicOperation zero comparisonGravatar ReinUsesLisp2019-01-151-1/+1
| |
| * glsl_decompiler: Fixup permissive member function declarationsGravatar ReinUsesLisp2019-01-151-133/+133
| |
| * shader_decode: Fixup PSETGravatar ReinUsesLisp2019-01-151-2/+3
| |
| * shader_decode: Fixup clang-formatGravatar ReinUsesLisp2019-01-152-2/+4
| |
| * video_core: Implement IR based geometry shadersGravatar ReinUsesLisp2019-01-154-10/+102
| |
| * shader_decode: Implement VMAD and VSETPGravatar ReinUsesLisp2019-01-155-2/+129
| |
| * shader_decode: Implement HSET2Gravatar ReinUsesLisp2019-01-153-1/+50
| |
| * shader_decode: Rework HSETP2Gravatar ReinUsesLisp2019-01-154-47/+57
| |
| * shader_decode: Implement R2PGravatar ReinUsesLisp2019-01-151-1/+28
| |
| * shader_decode: Implement CSETPGravatar ReinUsesLisp2019-01-151-14/+37
| |
| * shader_decode: Implement PSETGravatar ReinUsesLisp2019-01-151-1/+16
| |
| * shader_decode: Implement HFMA2Gravatar ReinUsesLisp2019-01-154-5/+60
| |
| * glsl_decompiler: Remove HNegate inliningGravatar ReinUsesLisp2019-01-151-10/+0
| |