aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-03-14clang-formatNguyen Dac Nam
2020-03-14nitNguyen Dac Nam
2020-03-13astc: Call std::vector::reserve on texelWeightValues to avoid reallocatingReinUsesLisp
2020-03-13astc: Create a LUT at compile time for encoding valuesReinUsesLisp
2020-03-13astc: Make IntegerEncodedValue a trivial structureReinUsesLisp
2020-03-13astc: Make IntegerEncodedValue constructor constexprReinUsesLisp
2020-03-13astc: Make IntegerEncodedValue trivially copyableReinUsesLisp
2020-03-13astc: Rename C types to common_typesReinUsesLisp
2020-03-13astc: Move Popcnt to an anonymous namespace and make it constexprReinUsesLisp
2020-03-13astc: Use common types instead of stdint.h integer typesReinUsesLisp
2020-03-13astc: Use 'enum class' instead of 'enum' for EIntegerEncodingReinUsesLisp
2020-03-13vk/gl_shader_decompiler: Silence assertion on computeReinUsesLisp
2020-03-13vk_shader_decompiler: Fix default varying regressionReinUsesLisp
2020-03-13maxwell_3d: Add padding words to XFB entriesReinUsesLisp
Use INSERT_UNION_PADDING_WORDS instead of alignas to ensure a size requirement.
2020-03-13gl_shader_decompiler: Fix implicit conversion errorsReinUsesLisp
2020-03-13vk_shader_decompiler: Fix implicit type conversionRodrigo Locatti
Co-Authored-By: Mat M. <mathew1800@gmail.com>
2020-03-13vk_rasterizer: Implement transform feedback binding zeroReinUsesLisp
2020-03-13vk_shader_decompiler: Add XFB decorations to generic varyingsReinUsesLisp
2020-03-13vk_device: Enable VK_EXT_transform_feedback when availableReinUsesLisp
2020-03-13vk_device: Shrink formatless capability name sizeReinUsesLisp
2020-03-13shader/transform_feedback: Expose buffer strideReinUsesLisp
2020-03-13vk_shader_decompiler: Use registry for specializationReinUsesLisp
2020-03-13gl_rasterizer: Implement transform feedback bindingsReinUsesLisp
2020-03-13gl_shader_decompiler: Decorate output attributes with XFB layoutReinUsesLisp
We sometimes have to slice attributes in different parts. This is needed for example in instances where the game feedbacks 3 components but writes 4 from the shader (something that is possible with GL_NV_transform_feedback).
2020-03-13shader/transform_feedback: Add host API friendly TFB builderReinUsesLisp
2020-03-13Merge branch 'master' into shader-purgeRodrigo Locatti
2020-03-13Merge pull request #3491 from ReinUsesLisp/polygon-modesbunnei
gl_rasterizer: Implement polygon modes and fill rectangles
2020-03-13nit & remove some optional paramNguyen Dac Nam
2020-03-13shader_decode: implement XMAD mode CSfuNguyen Dac Nam
2020-03-13fix formattingmakigumo
2020-03-13maxwell_to_vk: add vertex format eA2B10G10R10UnormPack32makigumo
2020-03-13clang-formatNguyen Dac Nam
2020-03-13Apply suggestions from code reviewNguyen Dac Nam
Co-Authored-By: Mat M. <mathew1800@gmail.com>
2020-03-13shader_decode: BFE add ref of reverse parallel method.Nguyen Dac Nam
2020-03-13shader_decode: implement BREV on BFENguyen Dac Nam
Implement reverse parallel follow: https://graphics.stanford.edu/~seander/bithacks.html#ReverseParallel
2020-03-13shader_bytecode: update BFE instructions struct.Nguyen Dac Nam
2020-03-13node_helper: add IBitfieldExtract caseNguyen Dac Nam
2020-03-13shader_decode: Reimplement BFE instructionsNguyen Dac Nam
2020-03-12gl_shader_decompiler: Initialize gl_Position on vertex shadersReinUsesLisp
2020-03-12Merge pull request #3483 from namkazt/patch-1Fernando Sahmkow
vk_rasterizer: fix mistype on SetupGraphicsImages
2020-03-12Merge pull request #3480 from ReinUsesLisp/vk-disabled-uboFernando Sahmkow
vk_rasterizer: Support disabled uniform buffers
2020-03-12gl_shader_decompiler: Add missing {} on smem GLSL emissionReinUsesLisp
2020-03-12video_core: Implement RGBA16_SNORMReinUsesLisp
Implement RGBA16_SNORM with the current API. Nothing special here.
2020-03-12texture_cache: Report incompatible textures as blackReinUsesLisp
Some games bind incompatible texture types to certain types. For example Astral Chain binds a 2D texture with 1 layer (non-array) to a cubemap slot (that's how it's used in the shader). After testing this in hardware, the expected "undefined behavior" is to report all pixels as black. We already have a path for reporting black textures in the texture cache. When textures types are incompatible, this commit binds these kind of textures. This is done on the API agnostic texture cache so no extra code has to be inserted on OpenGL or Vulkan. As a side effect, this fixes invalidations of ASTC textures on Astral Chain. This happened because yuzu detected a cube texture and forced 6 faces, generating a texture larger than what the TIC reported.
2020-03-12texture_cache/surface_params: Force depth=1 on 2D texturesReinUsesLisp
Sometimes games will sample a 2D array TIC with a 2D access in the shader. This causes bad interactions with the rest of the texture cache. To emulate what the game wants to do, force a depth=1 on 2D textures (not 2D arrays) and let the texture cache handle the rest.
2020-03-12gl_shader_decompiler: Add layer component to texelFetchReinUsesLisp
TexelFetch was not emitting the array component generating invalid GLSL.
2020-03-12Merge pull request #3497 from FernandoS27/microprogfile-extendbunnei
Small corrections and features to microprofile
2020-03-12Merge pull request #3496 from vitor-k/remove-enumbunnei
framebuffer_layout.h: drop the use of enum for screen dimensions
2020-03-12NVFlinger: Do the microprofile Flip after processing a valid frame.Fernando Sahmkow
2020-03-12gl_shader_decompiler: Fix regression in render target declarationsReinUsesLisp
A previous commit introduced a way to declare as few render targets as possible. Turns out this introduced a regression in some games.