aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader
AgeCommit message (Collapse)Author
2020-04-04shader_ir: Add error message for EXIT.FCSM_TRReinUsesLisp
2020-04-02shader/memory: Silence no return value warningReinUsesLisp
Silences a warning about control paths not all returning a value.
2020-03-31Merge pull request #3561 from ReinUsesLisp/f2f-conversionFernando Sahmkow
shader/conversion: Fix F2F rounding operations with different sizes
2020-03-31Merge pull request #3577 from ReinUsesLisp/leaFernando Sahmkow
shader/lea: Fix LEA implementation
2020-03-31clang-formatNguyen Dac Nam
2020-03-31shader_decode: fix by suggestionNguyen Dac Nam
2020-03-30clang-formatnamkazy
2020-03-30shader_decode: ATOM/ATOMS: add function to avoid code repetitionnamkazy
2020-03-30shader_decode: implement ATOM operation for S32 and U32Nguyen Dac Nam
2020-03-30clang-formatnamkazy
2020-03-30shader_decode: implement ATOMS instr partial.Nguyen Dac Nam
2020-03-30shader: node - update correct commentNguyen Dac Nam
2020-03-30shader_decode: add Atomic op for common usageNguyen Dac Nam
2020-03-28shader/lea: Simplify generated LEA codeReinUsesLisp
2020-03-27shader/lea: Fix op_a and op_b usagesReinUsesLisp
They were swapped.
2020-03-27shader/lea: Remove const and use move when possibleReinUsesLisp
2020-03-26shader/conversion: Fix F2F rounding operations with different sizesReinUsesLisp
Rounding operations only matter when the conversion size of source and destination is the same, i.e. .F16.F16, .F32.F32 and .F64.F64. When there is a mismatch (.F16.F32), these bits are used for IEEE rounding, we don't emulate this because GLSL and SPIR-V don't support configuring it per operation.
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.