aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader
AgeCommit message (Collapse)Author
2020-03-30shader: node - update correct commentNguyen Dac Nam
2020-03-30shader_decode: add Atomic op for common usageNguyen Dac Nam
2020-03-25Merge pull request #3544 from makigumo/myfork/patch-2bunnei
xmad: fix clang build error
2020-03-25Merge pull request #3520 from ReinUsesLisp/legacy-varyingsbunnei
gl_shader_decompiler: Implement legacy varyings
2020-03-23xmad: fix clang build errormakigumo
2020-03-19Merge pull request #3505 from namkazt/patch-8bunnei
shader_decode: implement XMAD mode CSfu
2020-03-15Merge pull request #3502 from namkazt/patch-3Rodrigo Locatti
shader_decode: Reimplement BFE instructions
2020-03-15shader/shader_ir: Track usage in input attribute and of legacy varyingsReinUsesLisp
2020-03-15shader/shader_ir: Fix clip distance usage storesReinUsesLisp
2020-03-15shader/shader_ir: Change declare output attribute to a switchReinUsesLisp
2020-03-14clang-formatNguyen Dac Nam
2020-03-14nitNguyen Dac Nam
2020-03-13shader/transform_feedback: Expose buffer strideReinUsesLisp
2020-03-13shader/transform_feedback: Add host API friendly TFB builderReinUsesLisp
2020-03-13nit & remove some optional paramNguyen Dac Nam
2020-03-13shader_decode: implement XMAD mode CSfuNguyen Dac Nam
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-13node_helper: add IBitfieldExtract caseNguyen Dac Nam
2020-03-13shader_decode: Reimplement BFE instructionsNguyen Dac Nam
2020-03-09engines/maxwell_3d: Add TFB registers and store them in shader registryReinUsesLisp
2020-03-09shader/registry: Address feedbackReinUsesLisp
2020-03-09shader/registry: Cache tessellation stateReinUsesLisp
2020-03-09shader/registry: Store graphics and compute metadataReinUsesLisp
Store information GLSL forces us to provide but it's dynamic state in hardware (workgroup sizes, primitive topology, shared memory size).
2020-03-09video_core: Rename "const buffer locker" to "registry"ReinUsesLisp
2020-03-09gl_shader_cache: Rework shader cache and remove post-specializationsReinUsesLisp
Instead of pre-specializing shaders and then post-specializing them, drop the later and only "specialize" the shader while decoding it.
2020-03-05Merge pull request #3451 from ReinUsesLisp/indexed-texturesbunnei
vk_shader_decompiler: Implement indexed textures
2020-02-29nit: move comment to right place.Nguyen Dac Nam
2020-02-28shader_decode: Fix LD, LDG when track constant bufferNguyen Dac Nam
2020-02-27shader: FMUL switch to using LUT (#3441)Nguyen Dac Nam
* shader: add FmulPostFactor LUT table * shader: FMUL apply LUT * Update src/video_core/engines/shader_bytecode.h Co-Authored-By: Mat M. <mathew1800@gmail.com> * nit: mistype * clang-format & add missing import * shader: remove post factor LUT. * shader: move post factor LUT to function and fix incorrect order. * clang-format * shader: FMUL: add static to post factor LUT * nit: typo Co-authored-by: Mat M. <mathew1800@gmail.com>
2020-02-26Merge pull request #3440 from namkazt/patch-6bunnei
shader: implement LOP3 fast replace for old function
2020-02-24shader: Simplify indexed sampler usagesReinUsesLisp
2020-02-21shader/texture: Fix illegal 3D texture assertReinUsesLisp
Fix typo in the illegal 3D texture assert logic. We care about catching arrayed 3D textures or 3D shadow textures, not regular 3D textures.
2020-02-21nit: add const to where it need.Nguyen Dac Nam
2020-02-21shader: implement LOP3 fast replace for old functionNguyen Dac Nam
ref: https://devtalk.nvidia.com/default/topic/1070081/cuda-programming-and-performance/reverse-lut-for-lop3-lut/
2020-02-19Merge pull request #3415 from ReinUsesLisp/texture-codebunnei
shader/texture: Allow 2D shadow arrays and simplify code
2020-02-19shader_conversion: I2F : add Assert for case src_size is ShortNguyen Dac Nam
2020-02-19fix warningNguyen Dac Nam
2020-02-19clang-format fixNguyen Dac Nam
2020-02-19shader_conversion: add conversion I2F for ShortNguyen Dac Nam
2020-02-15shader/texture: Allow 2D shadow arrays and simplify codeReinUsesLisp
Shadow sampler 2D arrays are supported on OpenGL, so there's no reason to forbid these. Enable textureLod usage on these. Minor style changes.
2020-02-14Merge pull request #3379 from ReinUsesLisp/cbuf-offsetbunnei
shader/decode: Fix constant buffer offsets
2020-02-07Merge pull request #3369 from ReinUsesLisp/shfbunnei
shader/shift: Implement SHF
2020-02-05shader/decode: Fix constant buffer offsetsReinUsesLisp
Some instances were using cbuf34.offset instead of cbuf34.GetOffset(). This returned the an invalid offset. Address those instances and rename offset to "shifted_offset" to avoid future bugs.
2020-02-04Merge pull request #3357 from ReinUsesLisp/bfi-rcbunnei
shader/bfi: Implement register-constant buffer variant
2020-02-04Merge pull request #3356 from ReinUsesLisp/fcmpbunnei
shader/arithmetic: Implement FCMP
2020-02-03Merge pull request #3337 from ReinUsesLisp/vulkan-stagedbunnei
yuzu: Implement Vulkan frontend
2020-02-01shader: Remove curly braces initializers on shared pointersReinUsesLisp