summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-18core/memory: Create a special MapMemoryRegion for physical memory.Markus Wick
This allows us to create a fastmem arena within the memory.cpp helpers.
2020-01-18core/hle: Simplify PhysicalMemory usage in vm_manager.Markus Wick
2020-01-18core/loaders: Simplify PhysicalMemory usage.Markus Wick
It is currently a std::vector, however we might want to replace it with a more fancy allocator. So we can't use the C++ iterators any more.
2020-01-18Merge pull request #3305 from ReinUsesLisp/point-size-programbunnei
gl_state: Implement PROGRAM_POINT_SIZE
2020-01-18Merge pull request #3312 from ReinUsesLisp/atoms-u32bunnei
shader/memory: Implement ATOMS.ADD.U32
2020-01-17Merge pull request #3318 from jroweboy/remove-cpu-vendorbunnei
Remove unused CPU Vendor string and telemtry field
2020-01-17Remove unused CPU Vendor string and telemtry fieldJames Rowe
The information is duplicated in the brand string and the telemetry field is unused
2020-01-17Merge pull request #3316 from TotalCaesar659/linux-headbar-iconbunnei
Add headbar icon on Linux
2020-01-18Add headbar icon on LinuxTotalCaesar659
2020-01-17Merge pull request #3306 from ReinUsesLisp/gl-texturebunnei
gl_texture_cache: Minor fixes and style changes
2020-01-17Merge pull request #3311 from ReinUsesLisp/z32fx24s8bunnei
format_lookup_table: Fix ZF32_X24S8 component types
2020-01-16Merge pull request #3300 from ReinUsesLisp/vk-texture-cachebunnei
vk_texture_cache: Implement generic texture cache on Vulkan
2020-01-16vk_texture_cache: Address feedbackReinUsesLisp
2020-01-16shader/memory: Implement ATOMS.ADD.U32ReinUsesLisp
2020-01-16format_lookup_table: Fix ZF32_X24S8 component typesReinUsesLisp
Component types for ZF32_X24S8 were using UNORM. Drivers will set FLOAT, UINT, UNORM, UNORM; causing a format mismatch. This commit addresses that.
2020-01-16vk_texture_cache: Fix typo in commentaryRodrigo Locatti
Co-Authored-By: MysticExile <30736337+MysticExile@users.noreply.github.com>
2020-01-16Merge pull request #3308 from lioncash/privatebunnei
maxwell_3d: Make dirty_pointers private
2020-01-16Merge pull request #3304 from lioncash/fwd-declbunnei
renderer_opengl/utils: Forward declare private structs
2020-01-16Merge pull request #3307 from jroweboy/fix-gitbunnei
Fix git version in scm_rev.cpp
2020-01-16maxwell_3d: Make dirty_pointers privateLioncash
This isn't used outside of the class itself, so we can make it private for the time being.
2020-01-16Fix git version in scm_rev.cppJames Rowe
2020-01-15gl_state: Implement PROGRAM_POINT_SIZEReinUsesLisp
For gl_PointSize to have effect we have to activate GL_PROGRAM_POINT_SIZE.
2020-01-15renderer_opengl/utils: Remove unused header inclusionsLioncash
Nothing from these headers are used, so they can be removed.
2020-01-15renderer_opengl/utils: Forward declare private structsLioncash
Keeps the definitions hidden and allows changes to the structs without needing to recompile all users of classes containing said structs.
2020-01-14gl_texture_cache: Use local variables to simplify DownloadTextureReinUsesLisp
2020-01-14gl_texture_cache: Fix format for RGBX16FReinUsesLisp
2020-01-14gl_texture_cache: Use Snorm internal format for RG8SReinUsesLisp
2020-01-14gl_texture_cache: Use Snorm internal format for ABGR8SReinUsesLisp
2020-01-14Merge pull request #3303 from lioncash/reorderRodrigo Locatti
control_flow: Silence -Wreorder warning for CFGRebuildState
2020-01-14Merge pull request #3302 from lioncash/unused-varRodrigo Locatti
gl_shader_cache: Remove unused variables
2020-01-14control_flow: Silence -Wreorder warning for CFGRebuildStateLioncash
Organizes the initializer list in the same order that the variables would actually be initialized in.
2020-01-14Merge pull request #3296 from Simek/hotkeys_resizebunnei
GUI/configure: resize hotkeys action column to fit content
2020-01-14gl_shader_cache: Remove unused STAGE_RESERVED_UBOS constantLioncash
Given this isn't used, this can be removed entirely.
2020-01-14gl_shader_cache: std::move entries in CachedShader constructorLioncash
Avoids several reallocations of std::vector instances where applicable.
2020-01-14gl_shader_cache: Remove unused entries variable in BuildShader()Lioncash
Eliminates a few unnecessary constructions of std::vectors.
2020-01-14Merge pull request #3287 from ReinUsesLisp/ldg-stg-16bunnei
shader_ir/memory: Implement u16 and u8 for STG and LDG
2020-01-13Merge pull request #3288 from ReinUsesLisp/uncurse-aoffibunnei
shader_ir/texture: Simplify AOFFI code
2020-01-13Merge pull request #3290 from ReinUsesLisp/gl-clampbunnei
maxwell_to_vk: Implement GL_CLAMP hacking Nvidia's driver
2020-01-13Merge pull request #3292 from degasus/heap_space_fixbunnei
core/kernel: Fix GetTotalPhysicalMemoryUsed.
2020-01-13vk_texture_cache: Implement generic texture cache on VulkanReinUsesLisp
It currently ignores PBO linearizations since these should be dropped as soon as possible on OpenGL.
2020-01-13texture_cache/surface_params: Make GetNumLayers publicReinUsesLisp
2020-01-12GUI/configure: resize hotkeys column to contentBartosz Kaszubowski
2020-01-12Merge pull request #3283 from ReinUsesLisp/vk-compute-passFernando Sahmkow
vk_compute_pass: Add compute passes to emulate missing Vulkan features
2020-01-11core/kernel: Fix GetTotalPhysicalMemoryUsed.Markus Wick
module._memory was already moved over to a new shared_ptr. So code_memory_size was not increased at all. This lowers the heap space and so saves a bit of memory, usually between 50 to 100 MB. This fixes a regression of c0a01f3adc466d07fc27020048e82cca60988970
2020-01-10vk_compute_pass: Address feedbackRodrigo Locatti
Comment hardcoded SPIR-V modules.
2020-01-10maxwell_to_vk: Implement GL_CLAMP hacking Nvidia's driverReinUsesLisp
Nvidia's driver defaults invalid enumerations to GL_CLAMP. Vulkan doesn't expose GL_CLAMP through its API, but we can hack it on Nvidia's driver using the internal driver defaults.
2020-01-09shader_ir/texture: Simplify AOFFI codeReinUsesLisp
2020-01-09shader_ir/memory: Implement u16 and u8 for STG and LDGReinUsesLisp
Using the same technique we used for u8 on LDG, implement u16. In the case of STG, load memory and insert the value we want to set into it with bitfieldInsert. Then set that value.
2020-01-08vk_compute_pass: Add compute passes to emulate missing Vulkan featuresReinUsesLisp
This currently only supports quad arrays and u8 indices. In the future we can remove quad arrays with a table written from the CPU, but this was used to bootstrap the other passes helpers and it was left in the code. The blob code is generated from the "shaders/" directory. Read the instructions there to know how to generate the SPIR-V.
2020-01-08vk_shader_util: Add helper to build SPIR-V shadersReinUsesLisp