189 Commits
Author SHA1 Message Date
Lanyi ebeea20843 Allow manual triggering of Github Action 2022-05-24 09:12:08 +02:00
Lanyi 5a4deec672 Update README.md 2022-02-17 23:32:52 +01:00
Lanyi c951198837 Set up Github Actions 2022-02-17 23:16:25 +01:00
lanyi 77d0d36c02 upgrade to .NET 5 2021-07-23 13:58:30 +02:00
lanyi f3a6b4f2cb fix sincos 2021-07-22 18:00:23 +02:00
lanyi f368384da2 fix texXXlod 2021-07-22 16:52:54 +02:00
lanyi 77bcf1215b More meaningful shader names 2021-07-22 16:52:16 +02:00
lanyi 7d30021ce7 fix fxlc operand's scalar/vector handling 2021-07-22 15:26:51 +02:00
lanyi dfab560d63 minor style change 2021-05-30 18:43:33 +02:00
lanyi 3ff820264f Experimental SM1 shaders support, made possible by jonwil's effort 2021-05-30 08:02:27 +02:00
lanyi f661774e6c Better handling of constant literals 2021-05-26 01:05:37 +02:00
lanyi 9a454b17e0 Prevent conflicting register assignments in effect 2021-05-26 00:08:01 +02:00
lanyi 8e5205203d Fixed wrong decompilation of lrp instruction in dx9 HlslWriter 2021-05-25 23:07:48 +02:00
lanyi 30edd6e330 Added the missing destinatinon modifier in dx9 HlslWriter 2021-05-25 23:06:32 +02:00
lanyi 0d3993424c Implement lit instruction 2021-05-24 21:46:43 +02:00
lanyi 6e56258f6a added a simple help message in DXDecompilerCmd 2021-05-24 21:07:32 +02:00
lanyi 6a473820f4 Gracefully handle unsupported sm1 shaders 2021-05-24 21:07:06 +02:00
lanyi 798fc790d9 Handle empty pres comment token 2021-05-24 21:06:21 +02:00
lanyi 03715067f5 Removed structure declaration unification as they could somtimes be misleading 2021-05-24 16:53:59 +02:00
lanyi e8cf5e33eb Removed comments in dx9 structs again as they could be misleading 2021-05-24 01:03:01 +02:00
lanyi 8e00485201 Added a "constants' default values with padding" so fxl VM could work correctly 2021-05-24 00:48:19 +02:00
lanyi c57fe5f0c4 fix textureCUBE in Parameter.GetTypeName 2021-05-24 00:37:17 +02:00
lanyi 48fd35c816 handle null blobs gracefully 2021-05-24 00:30:05 +02:00
lanyi f16ce07f50 Read correct number of dx9 constant default values 2021-05-24 00:26:43 +02:00
lanyi 14390bdcbc make sure index register only uses one component 2021-05-23 23:05:51 +02:00
lanyi d3feebde0e fix temp variables in fxlc decompilation 2021-05-23 22:59:12 +02:00
lanyi d02e13f7dc fix compile target in dx9 effect 2021-05-23 22:46:11 +02:00
lanyi 1578bb816e Handle multiple output registers in expression shaders 2021-05-23 22:44:12 +02:00
lanyi 18d27cdcf8 Prefer blobs instead of literal values in dx9 effect 2021-05-23 22:03:51 +02:00
lanyi 5c8d472c61 Correct handling of nrm instruction 2021-05-23 21:51:41 +02:00
lanyi da0bca35c9 Fix output declaration handling in dx9 2021-05-23 21:51:17 +02:00
lanyi 2f7313c5aa fix operand formatting in DX9 2021-05-23 21:50:56 +02:00
lanyi 8025c6352a Let HLSL writer write disassambly in comments 2021-05-23 20:34:42 +02:00
lanyi 9c13fec7ee Fix bug in dx9 shader input structure checking 2021-05-23 20:34:15 +02:00
lanyi 305f3b1d0b Automatically truncate uv swizzles in texture operations 2021-05-23 20:09:44 +02:00
lanyi 25ed8eb643 Better support of input declaration (with write masks) in DX9 shaders 2021-05-23 20:09:20 +02:00
lanyi 2932e74fb1 Guess tex operation name by looking at sampler type 2021-05-23 14:47:18 +02:00
lanyi 94fa2d1433 Fix DX9 tests' issues with shader profile / effects 2021-05-23 01:49:32 +02:00
lanyi 592866bfb8 Let expression return scalar
it seems that it's always a scalar shader?
2021-05-23 01:49:03 +02:00
lanyi dec7863bf4 fixed rsq instruction in DX9's Fxlc 2021-05-23 01:48:32 +02:00
lanyi 88ca7fdafc shader profile / version mapping 2021-05-23 01:48:10 +02:00
lanyi 79232e0a63 better handling of relative addressing in dx9 2021-05-23 01:45:15 +02:00
lanyi 3e5b87ac40 Added the missing entry point name in DX9 tests 2021-05-23 00:50:06 +02:00
lanyi 336e5144af fix conflicting names between input / output register names in DX9 2021-05-23 00:49:32 +02:00
lanyi 4b738ff7b5 Handle ambiguities between vs's addr and ps's texcoord in DX9 2021-05-23 00:48:52 +02:00
lanyi 68bfb015a7 Handle rare cases where DX9 constant might start with a dollar sign 2021-05-23 00:47:28 +02:00
lanyi 13259a84ce Fixed pixal shader declaration semantic in DX9 2021-05-23 00:46:42 +02:00
lanyi 0d605d8ca5 Added the missing semicolon in DX9 shader constant declarations 2021-05-22 23:38:16 +02:00
lanyi 170297f7ce Proper handling of write masks in DX9 shader decompilation 2021-05-22 22:42:46 +02:00
lanyi 16d0ef2cd4 Fixed the wrong register number in ctab override 2021-05-22 17:53:22 +02:00