aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2019-09-14Merge pull request #2857 from ReinUsesLisp/surface-srgbFernando Sahmkow
video_core/surface: Add function to detect sRGB surfaces
2019-09-14Merge pull request #2858 from ReinUsesLisp/vk-deviceFernando Sahmkow
vk_device: Add miscellaneous features and minor style changes
2019-09-13vk_device: Add miscellaneous features and minor style changesReinUsesLisp
* Increase minimum Vulkan requirements * Require VK_EXT_vertex_attribute_divisor * Require depthClamp, samplerAnisotropy and largePoints features * Search and expose VK_KHR_uniform_buffer_standard_layout * Search and expose VK_EXT_index_type_uint8 * Search and expose native float16 arithmetics * Track current driver with VK_KHR_driver_properties * Query and expose SSBO alignment * Query more image formats * Improve logging overall * Minor style changes * Minor rephrasing of commentaries
2019-09-13video_core/surface: Add function to detect sRGB surfacesReinUsesLisp
This is required for proper conversion to RGBA8_UNORM or RGBA8_SRGB surfaces when a backend can target both native and converted ASTC.
2019-09-11renderer_opengl: Fix rebase mistakeReinUsesLisp
2019-09-10shader/image: Implement SUATOM and fix SUSTReinUsesLisp
2019-09-10gl_rasterizer: Correct sRGB Fix regressionFernando Sahmkow
2019-09-10renderer_opengl: Fix sRGB blitsReinUsesLisp
Removes the sRGB hack of tracking if a frame used an sRGB rendertarget to apply at least once to blit the final texture as sRGB. Instead of doing this apply sRGB if the presented image has sRGB. Also enable sRGB by default on Maxwell3D registers as some games seem to assume this.
2019-09-10Merge pull request #2823 from ReinUsesLisp/shr-clampbunnei
shader/shift: Implement SHR wrapped and clamped variants
2019-09-10Merge pull request #2810 from ReinUsesLisp/mme-optbunnei
maxwell_3d: Avoid moving macro_params
2019-09-06gl_shader_decompiler: Avoid writing output attribute when unimplementedReinUsesLisp
2019-09-05gl_shader_decompiler: Keep track of written images and mark them as modifiedReinUsesLisp
2019-09-05texture_cache: Minor changesReinUsesLisp
2019-09-05gl_rasterizer: Apply textures and images stateReinUsesLisp
2019-09-05gl_rasterizer: Add samplers to compute dispatchesReinUsesLisp
2019-09-05gl_rasterizer: Minor code changesReinUsesLisp
2019-09-05gl_state: Split textures and samplers into two arraysReinUsesLisp
2019-09-05gl_rasterizer: Implement image bindingsReinUsesLisp
2019-09-05gl_state: Add support for glBindImageTexturesReinUsesLisp
2019-09-05texture_cache: Pass TIC to texture cacheReinUsesLisp
2019-09-05kepler_compute: Implement texture queriesReinUsesLisp
2019-09-05gl_rasterizer: Split SetupTexturesReinUsesLisp
2019-09-05Merge pull request #2804 from ReinUsesLisp/remove-gs-specialFernando Sahmkow
gl_shader_cache: Remove special casing for geometry shaders
2019-09-05Merge pull request #2833 from ReinUsesLisp/fix-stencilbunnei
gl_rasterizer: Fix stencil testing
2019-09-05gl_shader_decompiler: Implement shared memoryReinUsesLisp
2019-09-05shader_ir: Implement LD_SReinUsesLisp
Loads from shared memory.
2019-09-05shader_ir: Implement ST_SReinUsesLisp
This instruction writes to a memory buffer shared with threads within the same work group. It is known as "shared" memory in GLSL.
2019-09-05Merge pull request #2802 from ReinUsesLisp/hsetp2-predDavid
half_set_predicate: Fix HSETP2 predicate assignments
2019-09-04gl_shader_decompiler: Fixup slow pathReinUsesLisp
2019-09-04gl_rasterizer: Fix stencil testingReinUsesLisp
* Fix stencil dirty flags tracking when stencil is disabled * Attach stencil on clears (previously it only attached depth) * Attach stencil on drawing regardless of stencil testing being enabled
2019-09-04Revert "Revert #2466" and stub FirmwareCall 4ReinUsesLisp
2019-09-04shader/shift: Implement SHR wrapped and clamped variantsReinUsesLisp
Nvidia defaults to wrapped shifts, but this is undefined behaviour on OpenGL's spec. Explicitly mask/clamp according to what the guest shader requires.
2019-09-04maxwell_3d: Avoid moving macro_paramsReinUsesLisp
2019-09-04gl_shader_cache: Remove special casing for geometry shadersReinUsesLisp
Now that ProgramVariants holds the primitive topology we no longer need to keep track of individual geometry shaders topologies.
2019-09-04half_set_predicate: Fix predicate assignmentsReinUsesLisp
2019-09-04gl_device: Disable precise in fragment shaders on bugged driversReinUsesLisp
2019-09-04gl_shader_decompiler: Fixup AMD's slow path typeReinUsesLisp
2019-09-04gl_shader_decompiler: Rework GLSL decompiler type systemReinUsesLisp
GLSL decompiler type system was broken. We converted all return values to float except for some cases where returning we couldn't and implicitly broke the rule of returning floats (e.g. for bools or bool pairs). Instead of doing this introduce class Expression that knows what type a return value has and when a consumer wants to use the string it asks for it with a required type, emitting a runtime error if types are incompatible. This has the disadvantage that there's more C++ code, but we can emit better GLSL code that's easier to read.
2019-09-03Merge pull request #2793 from ReinUsesLisp/bgr565bunnei
renderer_opengl: Implement RGB565 framebuffer format
2019-09-03Merge pull request #2812 from ReinUsesLisp/f2i-selectorbunnei
shader_ir/conversion: Implement F2I and F2F F16 selector
2019-09-03Merge pull request #2811 from ReinUsesLisp/fsetp-fixbunnei
float_set_predicate: Add missing negation bit for the second operand
2019-09-03Merge pull request #2826 from ReinUsesLisp/macro-bindingbunnei
maxwell_3d: Fix macro binding cursor
2019-09-01Merge pull request #2765 from FernandoS27/dma-fixbunnei
MaxwellDMA: Fixes, corrections and relaxations.
2019-09-01maxwell_3d: Fix macro binding cursorReinUsesLisp
2019-08-30video_core: Silent miscellaneous warnings (#2820)Rodrigo Locatti
* texture_cache/surface_params: Remove unused local variable * rasterizer_interface: Add missing documentation commentary * maxwell_dma: Remove unused rasterizer reference * video_core/gpu: Sort member declaration order to silent -Wreorder warning * fermi_2d: Remove unused MemoryManager reference * video_core: Silent unused variable warnings * buffer_cache: Silent -Wreorder warnings * kepler_memory: Remove unused MemoryManager reference * gl_texture_cache: Add missing override * buffer_cache: Add missing include * shader/decode: Remove unused variables
2019-08-29gl_buffer_cache: Add missing includeReinUsesLisp
RasterizerInterface was considered an incomplete object by clang.
2019-08-29Merge pull request #2742 from ReinUsesLisp/fix-texture-buffersbunnei
gl_texture_cache: Miscellaneous texture buffer fixes
2019-08-29Merge pull request #2783 from FernandoS27/new-buffer-cachebunnei
Implement a New LLE Buffer Cache
2019-08-29Merge pull request #2758 from ReinUsesLisp/packed-tidbunnei
shader/decode: Implement S2R Tic
2019-08-28shader_ir/conversion: Split int and float selector and implement F2F H1ReinUsesLisp