aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2020-08-20renderer_vulkan: Create a Vulkan 1.0 instance when 1.1 is not availableReinUsesLisp
This commit doesn't make yuzu compatible with Vulkan 1.0 yet, it only creates an 1.0 instance.
2020-08-20Merge pull request #4546 from lioncash/telemetrybunnei
common/telemetry: Migrate namespace into the Common namespace
2020-08-18Merge pull request #4522 from lioncash/vulk-copybunnei
vulkan/wrapper: Avoid unnecessary copy in EnumerateInstanceExtensionProperties()
2020-08-18common/telemetry: Migrate namespace into the Common namespaceLioncash
Migrates the Telemetry namespace into the Common namespace to make the code consistent with the rest of our common code.
2020-08-17Merge pull request #4535 from lioncash/fileutilbunnei
common/fileutil: Convert namespace to Common::FS
2020-08-17Merge pull request #4443 from ameerj/vk-async-shadersDavid
vulkan_renderer: Async shader/graphics pipeline compilation
2020-08-17Merge pull request #4520 from lioncash/pessimizeDavid
async_shaders: Resolve -Wpessimizing-move warning
2020-08-16Remove unneeded newlines, optional Registry in shader paramsameerj
Addressing feedback from Rodrigo
2020-08-16Morph: Update worker allocation commentAmeer J
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2020-08-16move thread 1/4 count computation into allocate workers methodameerj
2020-08-16Address feedback, add shader compile notifier, update setting textameerj
2020-08-16Vk Async Worker directly emplace in cacheameerj
2020-08-16Address feedback. Bruteforce delete duplicatesameerj
2020-08-16Vk Async pipeline compilationameerj
2020-08-16common/fileutil: Convert namespace to Common::FSLioncash
Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing.
2020-08-16Merge pull request #4528 from lioncash/discardbunnei
common: Make use of [[nodiscard]] where applicable
2020-08-16Merge pull request #4519 from lioncash/semibunnei
maxwell_3d: Resolve -Wextra-semi warning
2020-08-15common/compression: Roll back std::span changesLioncash
Seems like all compilers don't support std::span yet.
2020-08-15Merge pull request #4416 from lioncash/spanbunnei
lz4_compression/zstd_compression: Make use of std::span in interfaces
2020-08-14Merge pull request #4453 from ReinUsesLisp/block-to-linearbunnei
textures/decoders: Fix block linear to pitch copies
2020-08-14shader/memory: Amend UNIMPLEMENTED_IF_MSG without a messageLioncash
We need to provide a message for this variant of the macro, so we can simply log out the type being used.
2020-08-14macro-interpreter: Resolve -Wself-assign-field warningLioncash
This was assigning the field to itself, which is a no-op. The size doesn't change between its initial assignment and this one, so this is a safe change to make.
2020-08-14vulkan/wrapper: Avoid unnecessary copy in EnumerateInstanceExtensionProperties()Lioncash
Given this is implicitly creating a std::optional, we can move the vector into it.
2020-08-14gl_shader_disk_cache: Make use of std::nullopt where applicableLioncash
Allows the compiler to avoid unnecessarily zeroing out the internal buffer of std::optional on some implementations.
2020-08-14async_shaders: Resolve -Wpessimizing-move warningLioncash
Prevents pessimization of the move constructor (which thankfully didn't actually happen in practice here, given std::thread isn't copyable).
2020-08-14maxwell_3d: Resolve -Wextra-semi warningLioncash
Semicolons after a function definition aren't necessary.
2020-08-13Merge pull request #4514 from Morph1984/worker-allocbunnei
gl_shader_cache: Use std::max() for determining num_workers
2020-08-13General: Tidy up clang-format warnings part 2Lioncash
2020-08-12gl_shader_cache: Use std::max() for determining num_workersMorph
Does not allocate more threads than available in the host system for boot-time shader compilation and always allocates at least 1 thread if hardware_concurrency() returns 0.
2020-08-10textures/decoders: Fix block linear to pitch copiesReinUsesLisp
There were two issues with block linear copies. First the swizzling was wrong and this commit reimplements them. The other issue was that these copies are generally used to download render targets from the GPU and yuzu was not downloading them from host GPU memory unless the extreme GPU accuracy setting was selected. This commit enables cached memory reads for all accuracy levels. - Fixes level thumbnails in Super Mario Maker 2.
2020-08-07Merge pull request #4389 from ogniK5377/redundant-format-typebunnei
video_core: Remove redundant pixel format type
2020-08-04Merge pull request #4430 from bunnei/new-gpu-vmmbunnei
hle: nvdrv: Rewrite of GPU memory management.
2020-08-04Merge pull request #4445 from Morph1984/async-threadsbunnei
renderer_opengl: Use 1/4 of all threads for async shader compilation
2020-08-04Merge pull request #4469 from lioncash/missingbunnei
vk_texture_cache: Silence -Wmissing-field-initializer warnings
2020-08-03vulkan: Silence more -Wmissing-field-initializer warningsLioncash
2020-08-03yuzu: Resolve C++20 deprecation warnings related to lambda capturesLioncash
C++20 deprecates capturing the this pointer via the '=' capture. Instead, we replace it or extend the capture specification.
2020-07-31Merge pull request #4392 from lioncash/guardDavid
compatible_formats: Add missing header guard
2020-07-29Merge pull request #4396 from lioncash/commabunnei
surface_params: Replace questionable usages of the comma operator with semicolons
2020-07-28renderer_opengl: Use 1/4 of all threads for async shader compilationMorph
2020-07-27Merge pull request #4419 from lioncash/initializerbunnei
vulkan: Resolve -Wmissing-field-initializer warnings
2020-07-26video_core/gpu: Correct the size of the puller registersBilly Laws
The puller register array is made up of u32s however the `NUM_REGS` value is the size in bytes, so switch it to avoid making the struct unnecessary large. Also fix a small typo in a comment.
2020-07-26hle: nvdrv: Rewrite of GPU memory management.bunnei
2020-07-25vulkan: Resolve -Wmissing-field-initializer warningsLioncash
2020-07-25zstd_compression: Make use of std::span in interfacesLioncash
Allows condensing the data and size parameters into a single argument.
2020-07-24Merge pull request #4393 from lioncash/unused5bunnei
vk_rasterizer: Remove unused variable in Clear()
2020-07-24Merge pull request #4388 from lioncash/writtenbunnei
buffer_cache: Eliminate redundant map lookup in MarkRegionAsWritten()
2020-07-24Merge pull request #4391 from lioncash/nrvobunnei
video_core: Allow copy elision to take place where applicable
2020-07-23Merge pull request #4394 from lioncash/unused6bunnei
video_core: Remove unused variables
2020-07-21Merge pull request #4359 from ReinUsesLisp/clamp-sharedRodrigo Locatti
renderer_{opengl,vulkan}: Clamp shared memory to host's limit
2020-07-21Merge pull request #4360 from ReinUsesLisp/glasm-barRodrigo Locatti
gl_arb_decompiler: Execute BAR even when inside control flow