Commit Graph

29 Commits

Author SHA1 Message Date
fincs
97814558db lcnt -> aL 2017-12-27 18:43:54 +01:00
fincs
625b28e36a Rename a0/a1 index regs to a0.x/a0.y to match D3D naming convention 2017-12-27 18:06:10 +01:00
fincs
9aac60a683 Index regs can only be used with uniform regs (discovered by @Tilka) 2017-12-27 14:44:20 +01:00
Tillmann Karras
eeda288b29 Add break
Don't use this instruction unless you know what you're doing. It does
*not* touch the if/call stacks, so the following code will behave in an
unexpected way (and cannot be fixed by inserting nops):

```
ifu true
    for ...
        ifu true
            break
        .end
    .end
.else
    ; will be executed since the inner if is still on the stack
.end
```

breakc has the same problem but does not require a separate condition.
2017-12-17 18:23:00 +01:00
Tillmann Karras
89deb50e23 Add litp
This instruction prepares a vector for vs_3_0-style lighting by clamping
to certain bounds.
2017-12-17 17:22:54 +01:00
Tillmann Karras
0629de23e0 Add dst/dsti 2017-12-17 17:22:54 +01:00
Tillmann Karras
11f2f1e521 Fix typos in manual 2017-12-17 17:04:51 +01:00
fincs
067d0985ce Manual: fix blatantly wrong output color description 2017-08-16 17:33:07 +02:00
fincs
caf06d4896 v2.6 2017-03-18 00:48:41 +01:00
fincs
17f18aa18d v2.5 2016-07-20 17:21:01 +02:00
fincs
08e77dad03 Add command line flag for retrieving the picasso version (fix #11) 2016-03-26 14:03:02 +01:00
fincs
e5e8127a5d Correct MAD instruction encoding 2016-03-26 14:02:02 +01:00
fincs
5a597fb870 Add .constfa for creating floating-point vector constant arrays. 2016-02-20 00:24:34 +01:00
fincs
d822bd4e26 Add support for inverting the condition in JMPU (addresses #9) 2016-01-25 12:52:35 +01:00
fincs
956a328a6f Add proper support for the MOVA instruction 2016-01-24 11:58:16 +01:00
fincs
cefa910b58 Implement .gsh directive 2015-08-22 23:21:49 +02:00
fincs
8366ecf660 Add changelog 2015-08-22 13:46:22 +02:00
fincs
011668baef Implement .setf/.seti/.setb with documentation 2015-08-22 13:30:33 +02:00
fincs
fd8532c55b Update the manual 2015-08-22 12:40:11 +02:00
fincs
2fddf6a0be Correct Markdown typo 2015-03-04 22:43:36 +01:00
fincs
6e176f33c5 Geoshader support! 2015-03-04 22:42:34 +01:00
fincs
28c07f3363 Add more output types & correct number of integer uniforms 2015-03-02 17:37:46 +01:00
fincs
8437350b4b LRP -> MADI 2015-03-02 17:36:47 +01:00
fincs
658dac4449 Fix typo in Manual.md 2014-12-29 21:03:32 +01:00
fincs
19f705076a Add support for BREAKC/CALLC/IFC/JMPC 2014-12-15 22:59:06 +01:00
fincs
af4f62dab0 Rename ARL to MOVA 2014-12-14 13:31:47 +01:00
fincs
94650e716e Manual.md: some minor fixes 2014-12-12 22:29:40 +01:00
fincs
125b6718e7 Manual.md: describe register negation 2014-12-12 22:24:58 +01:00
fincs
c91860a84b Add WIP documentation 2014-12-12 22:17:17 +01:00