summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-02-21Merge pull request #3435 from namkazt/patch-3Rodrigo Locatti
vulkan: add DXT23_SRGB
2020-02-21Merge pull request #3423 from ReinUsesLisp/no-match-3dbunnei
texture_cache: Avoid matches in 3D textures
2020-02-20Merge pull request #3438 from bunnei/gpu-mem-manager-fixbunnei
video_core: memory_manager: Flush/invalidate asynchronously when possible.
2020-02-19Merge pull request #3432 from brianclinkenbeard/update-httplibbunnei
Update httplib to 0.5.5
2020-02-19Merge pull request #3415 from ReinUsesLisp/texture-codebunnei
shader/texture: Allow 2D shadow arrays and simplify code
2020-02-19video_core: memory_manager: Flush/invalidate asynchronously on Unmap.bunnei
- Minor perf improvement.
2020-02-19Merge pull request #3414 from ReinUsesLisp/maxwell-3d-drawbunnei
maxwell_3d: Unify draw methods
2020-02-19Merge pull request #3411 from ReinUsesLisp/specific-funcsbunnei
gl_rasterizer: Use the least generic OpenGL draw function possible
2020-02-19shader_conversion: I2F : add Assert for case src_size is ShortNguyen Dac Nam
2020-02-19fix warningNguyen Dac Nam
2020-02-19clang-format fixNguyen Dac Nam
2020-02-19shader_conversion: add conversion I2F for ShortNguyen Dac Nam
2020-02-18Merge pull request #3410 from ReinUsesLisp/vk-draw-indexbunnei
vk_shader_decompiler: Fix vertex id and instance id
2020-02-18httplib compatibilityBrian Clinkenbeard
2020-02-18Merge pull request #3409 from ReinUsesLisp/host-queriesFernando Sahmkow
query_cache: Implement a query cache and query 21 (samples passed)
2020-02-18add vertex UnsignedInt size RGBANguyen Dac Nam
2020-02-18add eBc2SrgbBlock to formatsNguyen Dac Nam
2020-02-18vulkan: add DXT23_SRGBNguyen Dac Nam
2020-02-17Merge pull request #3412 from Morph1984/aspect-ratiobunnei
GUI: Add aspect ratio dropdown
2020-02-17Merge pull request #3420 from namkazt/master2bunnei
nvhost_gpu: implement ChannelSetTimeslice
2020-02-16texture_cache: Avoid matches in 3D texturesReinUsesLisp
Code before this commit was trying to match 3D textures with another target. Fix that.
2020-02-16IUserLocalCommunicationService: add function Initialize2Nguyen Dac Nam
2020-02-16HLE: correct function name of IUserLocalCommunicationServiceNguyen Dac Nam
402: function name should be Initialize2 (7.0.0+) not SetOperationMode Follow by: https://switchbrew.org/wiki/LDN_services#IUserLocalCommunicationService
2020-02-16nvhost_gpu: implement ChannelSetTimeslicenamkazy
2020-02-15Revert "video_core: memory_manager: Use GPU interface for cache functions."bunnei
2020-02-15shader/texture: Allow 2D shadow arrays and simplify codeReinUsesLisp
Shadow sampler 2D arrays are supported on OpenGL, so there's no reason to forbid these. Enable textureLod usage on these. Minor style changes.
2020-02-14maxwell_3d: Unify draw methodsReinUsesLisp
Pass instanced state of a draw invocation as an argument instead of having two separate virtual methods.
2020-02-14query_cache: Address feedbackReinUsesLisp
2020-02-14query_cache: Fix ambiguity in CacheAddr getterReinUsesLisp
2020-02-14query_cache: Add a recursive mutex for concurrent usageReinUsesLisp
2020-02-14vk_query_cache: Implement generic query cache on VulkanReinUsesLisp
2020-02-14query_cache: Abstract OpenGL implementationReinUsesLisp
Abstract the current OpenGL implementation into the VideoCommon namespace and reimplement it on top of that. Doing this avoids repeating code and logic in the Vulkan implementation.
2020-02-14gl_query_cache: Optimize query cacheReinUsesLisp
Use a custom cache instead of relying on a ranged cache.
2020-02-14gl_query_cache: Implement host queries using a deferred cacheReinUsesLisp
Instead of waiting immediately for executed commands, defer the query until the guest CPU reads it. This way we get closer to what the guest program is doing. To archive this we have to build a dependency queue, because host APIs (like OpenGL and Vulkan) use ranged queries instead of counters like NVN. Waiting for queries implicitly uses fences and this requires a command being queued, otherwise the driver will lock waiting until a timeout. To fix this when there are no commands queued, we explicitly call glFlush.
2020-02-14gl_rasterizer: Sort method declarationsReinUsesLisp
2020-02-14gl_rasterizer: Add queued commands counterReinUsesLisp
Keep track of the queued OpenGL commands that can signal a fence if waited on. As a side effect, we avoid calls to glFlush when no commands are queued.
2020-02-14maxwell_3d: Slow implementation of passed samples (query 21)ReinUsesLisp
Implements GL_SAMPLES_PASSED by waiting immediately for queries.
2020-02-14Merge pull request #3401 from FernandoS27/synchronizationbunnei
Set of refactors for Kernel Synchronization and Hardware Constants
2020-02-14Add 4:3 aspect ratio and address feedbackMorph
2020-02-14Merge pull request #3379 from ReinUsesLisp/cbuf-offsetbunnei
shader/decode: Fix constant buffer offsets
2020-02-14Core: Correct compilition in GCCFernando Sahmkow
2020-02-14Address feedbackMorph
2020-02-13Use enumeration instead of magic numbersMorph
2020-02-13Add following aspect ratios: 16:9, 21:9, Stretch to WindowMorph
Available as a drop down within the configure graphics tab.
2020-02-13Merge pull request #3400 from makigumo/patch-1bunnei
update hwopus DecodeInterleaved for FW 7.0.0+
2020-02-13gl_resource_manager: Add managed query classReinUsesLisp
2020-02-13Merge pull request #3395 from FernandoS27/queriesbunnei
GPU: Refactor queries implementation and correct GPU Clock.
2020-02-13gl_rasterizer: Use the least generic OpenGL draw function possibleReinUsesLisp
This may help some implementations.
2020-02-13vk_shader_decompiler: Fix vertex id and instance idReinUsesLisp
Vulkan's VertexIndex and InstanceIndex don't match with hardware. This is because Nvidia implements gl_VertexID and gl_InstanceID. The math that relates these is: gl_VertexIndex = gl_BaseVertex + gl_VertexID gl_InstanceIndex = gl_InstanceIndex + gl_InstanceID To emulate it using what Vulkan's SPIR-V offers (the *Index variants) this commit substracts gl_Base* from gl_*Index to obtain the OpenGL and hardware's equivalent.
2020-02-13Core: Address FeedbackFernando Sahmkow