Markus Wick
7e94e544f4
core/loaders: Simplify PhysicalMemory usage.
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.
6 years ago
bunnei
9bf4850f74
Merge pull request #3305 from ReinUsesLisp/point-size-program
gl_state: Implement PROGRAM_POINT_SIZE
6 years ago
bunnei
15163edaaa
Merge pull request #3312 from ReinUsesLisp/atoms-u32
shader/memory: Implement ATOMS.ADD.U32
6 years ago
bunnei
3cce5056ff
Merge pull request #3318 from jroweboy/remove-cpu-vendor
Remove unused CPU Vendor string and telemtry field
6 years ago
James Rowe
4512a6bbfc
Remove unused CPU Vendor string and telemtry field
The information is duplicated in the brand string and the telemetry field is unused
6 years ago
bunnei
530a761e7a
Merge pull request #3316 from TotalCaesar659/linux-headbar-icon
Add headbar icon on Linux
6 years ago
TotalCaesar659
dd74fd014b
Add headbar icon on Linux
6 years ago
bunnei
48863afb65
Merge pull request #3306 from ReinUsesLisp/gl-texture
gl_texture_cache: Minor fixes and style changes
6 years ago
bunnei
657b3a366e
Merge pull request #3311 from ReinUsesLisp/z32fx24s8
format_lookup_table: Fix ZF32_X24S8 component types
6 years ago
bunnei
e041f33569
Merge pull request #3300 from ReinUsesLisp/vk-texture-cache
vk_texture_cache: Implement generic texture cache on Vulkan
6 years ago
ReinUsesLisp
f09cd52980
vk_texture_cache: Address feedback
6 years ago
ReinUsesLisp
63ba41a26d
shader/memory: Implement ATOMS.ADD.U32
6 years ago
ReinUsesLisp
0caab54b5d
format_lookup_table: Fix ZF32_X24S8 component types
Component types for ZF32_X24S8 were using UNORM. Drivers will set FLOAT,
UINT, UNORM, UNORM; causing a format mismatch. This commit addresses
that.
6 years ago
Rodrigo Locatti
82e1285c1e
vk_texture_cache: Fix typo in commentary
Co-Authored-By: MysticExile <30736337+MysticExile@users.noreply.github.com>
6 years ago
bunnei
30faf6a964
Merge pull request #3308 from lioncash/private
maxwell_3d: Make dirty_pointers private
6 years ago
bunnei
d23869811d
Merge pull request #3304 from lioncash/fwd-decl
renderer_opengl/utils: Forward declare private structs
6 years ago
bunnei
a43ac8c79e
Merge pull request #3307 from jroweboy/fix-git
Fix git version in scm_rev.cpp
6 years ago
Lioncash
9e874898f5
maxwell_3d: Make dirty_pointers private
This isn't used outside of the class itself, so we can make it private
for the time being.
6 years ago
James Rowe
b429095b61
Fix git version in scm_rev.cpp
6 years ago
ReinUsesLisp
c375d735e6
gl_state: Implement PROGRAM_POINT_SIZE
For gl_PointSize to have effect we have to activate
GL_PROGRAM_POINT_SIZE.
6 years ago
Lioncash
7af56dfa76
renderer_opengl/utils: Remove unused header inclusions
Nothing from these headers are used, so they can be removed.
6 years ago
Lioncash
06d30fbcca
renderer_opengl/utils: Forward declare private structs
Keeps the definitions hidden and allows changes to the structs without
needing to recompile all users of classes containing said structs.
6 years ago
ReinUsesLisp
66a1c777c9
gl_texture_cache: Use local variables to simplify DownloadTexture
6 years ago
ReinUsesLisp
cdb00546f0
gl_texture_cache: Fix format for RGBX16F
6 years ago
ReinUsesLisp
2d09467f6f
gl_texture_cache: Use Snorm internal format for RG8S
6 years ago
ReinUsesLisp
02624c35ec
gl_texture_cache: Use Snorm internal format for ABGR8S
6 years ago
Rodrigo Locatti
64cd46579b
Merge pull request #3303 from lioncash/reorder
control_flow: Silence -Wreorder warning for CFGRebuildState
6 years ago
Rodrigo Locatti
81e9e229fa
Merge pull request #3302 from lioncash/unused-var
gl_shader_cache: Remove unused variables
6 years ago
Lioncash
a1eee1749e
control_flow: Silence -Wreorder warning for CFGRebuildState
Organizes the initializer list in the same order that the variables
would actually be initialized in.
6 years ago
bunnei
a83e28b237
Merge pull request #3296 from Simek/hotkeys_resize
GUI/configure: resize hotkeys action column to fit content
6 years ago
Lioncash
f10ea944e0
gl_shader_cache: Remove unused STAGE_RESERVED_UBOS constant
Given this isn't used, this can be removed entirely.
6 years ago
Lioncash
4cd5ad90f3
gl_shader_cache: std::move entries in CachedShader constructor
Avoids several reallocations of std::vector instances where applicable.
6 years ago
Lioncash
15a6840e7a
gl_shader_cache: Remove unused entries variable in BuildShader()
Eliminates a few unnecessary constructions of std::vectors.
6 years ago
bunnei
55f95e7f26
Merge pull request #3287 from ReinUsesLisp/ldg-stg-16
shader_ir/memory: Implement u16 and u8 for STG and LDG
6 years ago
bunnei
15788ffcde
Merge pull request #3288 from ReinUsesLisp/uncurse-aoffi
shader_ir/texture: Simplify AOFFI code
6 years ago
bunnei
6985eea519
Merge pull request #3290 from ReinUsesLisp/gl-clamp
maxwell_to_vk: Implement GL_CLAMP hacking Nvidia's driver
6 years ago
bunnei
e749f17257
Merge pull request #3292 from degasus/heap_space_fix
core/kernel: Fix GetTotalPhysicalMemoryUsed.
6 years ago
ReinUsesLisp
09e17fbb0f
vk_texture_cache: Implement generic texture cache on Vulkan
It currently ignores PBO linearizations since these should be dropped as
soon as possible on OpenGL.
6 years ago
ReinUsesLisp
2b2712fa95
texture_cache/surface_params: Make GetNumLayers public
6 years ago
Bartosz Kaszubowski
6726e8b784
GUI/configure: resize hotkeys column to content
6 years ago
Fernando Sahmkow
43fc793439
Merge pull request #3283 from ReinUsesLisp/vk-compute-pass
vk_compute_pass: Add compute passes to emulate missing Vulkan features
6 years ago
Markus Wick
c76ffa5019
core/kernel: Fix GetTotalPhysicalMemoryUsed.
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 c0a01f3adc
6 years ago
Rodrigo Locatti
b1138e5ea1
vk_compute_pass: Address feedback
Comment hardcoded SPIR-V modules.
6 years ago
ReinUsesLisp
3d46709b7f
maxwell_to_vk: Implement GL_CLAMP hacking Nvidia's driver
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.
6 years ago
ReinUsesLisp
13021b534c
shader_ir/texture: Simplify AOFFI code
6 years ago
ReinUsesLisp
e2a2a556b9
shader_ir/memory: Implement u16 and u8 for STG and LDG
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.
6 years ago
ReinUsesLisp
908e085d02
vk_compute_pass: Add compute passes to emulate missing Vulkan features
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.
6 years ago
ReinUsesLisp
82a64da077
vk_shader_util: Add helper to build SPIR-V shaders
6 years ago
Fernando Sahmkow
80436c1330
Merge pull request #3279 from ReinUsesLisp/vk-pipeline-cache
vk_pipeline_cache: Initial implementation
6 years ago
bunnei
319c4d2108
Merge pull request #3272 from bunnei/vi-close-layer
service: vi: Implement CloseLayer.
6 years ago