Hajime Hoshi
|
bb6430d3ba
|
internal/shader: bug fix: unexpected crash for out of range
Closes #2926
|
2024-03-13 11:37:00 +09:00 |
|
Hajime Hoshi
|
63e97c7064
|
internal/shader: bug fix: needed to resolve const and non-const types
Closes #2922
|
2024-03-10 19:49:19 +09:00 |
|
Hajime Hoshi
|
9a7dcb1077
|
internal/shader: bug fix: failed to return an array in HLSL
Closes #2923
|
2024-03-10 11:59:50 +09:00 |
|
Hajime Hoshi
|
927e025982
|
internal/shader: bug fix: wrong type conversion for min, max, and clamp
Closes #2922
|
2024-03-10 11:30:06 +09:00 |
|
Hajime Hoshi
|
cc3db584f2
|
internal/shader: allow integer types for clamp
Closes #2788
|
2024-02-25 21:21:27 +09:00 |
|
Hajime Hoshi
|
4b9508c523
|
internal/shader: bug fix: wrong type checks on min/max
Updates #2788
|
2024-02-25 21:17:54 +09:00 |
|
Hajime Hoshi
|
e8cdf885c0
|
internal/shader: allow integer types for min and max
Updates #2788
|
2024-02-25 20:18:19 +09:00 |
|
Hajime Hoshi
|
face5fd870
|
internal/shader: allow integer types for abs and sign
Updates #2788
|
2024-02-25 18:16:44 +09:00 |
|
Hajime Hoshi
|
820c996329
|
internal/shader: bug fix: wrong lhs in an assignment
Closes #2910
|
2024-02-15 02:29:21 +09:00 |
|
Hajime Hoshi
|
fca8ebb9af
|
internal/shader: bug fix: non-name on the left side of :=
Closes #2891
|
2024-02-11 21:21:16 +09:00 |
|
Hajime Hoshi
|
75103f39dd
|
internal/shader: bug fix: error on a function name in a function call
Updates #2891
|
2024-02-11 21:09:49 +09:00 |
|
Hajime Hoshi
|
a4abc4472b
|
internal/shaderir/msl: always use the same function names
|
2024-01-07 18:54:15 +09:00 |
|
bsski
|
b8df1217c3
|
all: fix typos (#2864)
|
2023-12-17 22:42:34 +09:00 |
|
Hajime Hoshi
|
9b9384baa0
|
internal/shader: bug fix: variables in an index should be marked as used
Closes #2848
|
2023-11-19 14:50:43 +09:00 |
|
Hajime Hoshi
|
1e78c2e6b0
|
internal/shaderir: bug fix: constants must be truncated correctly in an array
Closes #2840
|
2023-11-15 00:40:20 +09:00 |
|
Hajime Hoshi
|
b95228a8a6
|
all: rename arguments in Kage
Closes #2767
|
2023-09-24 16:46:36 +09:00 |
|
Hajime Hoshi
|
0e27a8a30b
|
internal/shader: bug fix: spaces around a compiler directive should be allowed
Closes #2771
|
2023-09-22 01:45:11 +09:00 |
|
Hajime Hoshi
|
0e19cd10be
|
internal/shader: add type checks for a bitwise operator + assignment
Closes #2754
|
2023-09-13 04:17:46 +09:00 |
|
Hajime Hoshi
|
1f67518319
|
internal/shader: clean up tests
|
2023-09-13 03:57:20 +09:00 |
|
Hajime Hoshi
|
320cec8869
|
internal/shaderir: refactoring
|
2023-09-13 03:25:42 +09:00 |
|
Hajime Hoshi
|
19413c2805
|
internal/shader: refactoring: move type deduction to shaderir package
Updates #2754
|
2023-09-13 00:18:47 +09:00 |
|
Hajime Hoshi
|
5e30e1ee1d
|
internal/shader: refactoring
|
2023-09-12 03:27:30 +09:00 |
|
Hajime Hoshi
|
73e4423fe7
|
internal/shader: bug fix: bitwise operators with assignment didn't work
Closes #2752
Updates #2754
|
2023-09-12 03:15:28 +09:00 |
|
Hajime Hoshi
|
c13980158f
|
internal/shader: add type checks for bitwise operators
Updates #2754
|
2023-09-12 02:40:42 +09:00 |
|
Hajime Hoshi
|
20ddfba983
|
internal/shader: bug fix: error in assinments to multiple variables
Closes #2747
|
2023-09-04 02:21:45 +09:00 |
|
Hajime Hoshi
|
1bbded8653
|
internal/shader: bug fix: wrong local variable index was used for assignments
Closes #2655
|
2023-09-04 01:23:03 +09:00 |
|
Hajime Hoshi
|
f82114e8eb
|
internal/shader: add parseFor
Updates #1897
|
2023-09-03 17:15:39 +09:00 |
|
Hajime Hoshi
|
1269315f75
|
internal/shader: bug fix: forbid duplicated uniform variables
Closes #2648
|
2023-08-29 00:43:10 +09:00 |
|
Hajime Hoshi
|
2de54c556b
|
internal/shader: bug fix: wrong for-loop should fail compilation
Closes #2680
|
2023-08-08 23:38:01 +09:00 |
|
Hajime Hoshi
|
6fa8c02d4a
|
internal/shader: bug fix: div between a matrix and a flaot failed
Closes #2719
|
2023-08-05 02:12:39 +09:00 |
|
Hajime Hoshi
|
d8630f940d
|
internal/shader: bug fix: forbide comparing non-scalar values
Closes #2718
|
2023-08-01 12:32:16 +09:00 |
|
Hajime Hoshi
|
63df6168d9
|
internal/shader: use plural forms for Kage compiler directives
This change renames
```
//kage:unit texel
//kage:unit pixel
```
to
```
//kage:unit texels
//kage:unit pixels
```
.
Closes #2717
|
2023-08-01 11:41:38 +09:00 |
|
Hajime Hoshi
|
4df647a400
|
internal/shader: bug fix: forbid to have an initial value for uniform variables
Closes #2711
|
2023-07-29 20:51:02 +09:00 |
|
Hajime Hoshi
|
5ddf1df423
|
internal/shaderir: remove ConstType
Closes #2550
|
2023-07-29 15:34:30 +09:00 |
|
Hajime Hoshi
|
7549f4fcd6
|
internal/shader: reduce ConstType usages
Updates #2550
|
2023-07-29 14:18:32 +09:00 |
|
Hajime Hoshi
|
e225f118fb
|
internal/shaderir: use ConstType just for an assetion
Updates #2550
|
2023-07-29 14:02:26 +09:00 |
|
Hajime Hoshi
|
900b687f40
|
internal/shader: add tests
Updates #2712
|
2023-07-28 01:59:31 +09:00 |
|
Hajime Hoshi
|
692d119818
|
internal/shader: refactoring: reduce ConstType usages
Updates #2550
|
2023-07-28 01:36:15 +09:00 |
|
Hajime Hoshi
|
88be4c5b7c
|
internal/shader: reland: bug fix: stricter type checks for the built-in cast-like functions
Closes #2712
|
2023-07-28 01:33:27 +09:00 |
|
Hajime Hoshi
|
be2123f7fd
|
Revert "internal/shader: bug fix: stricter type checks for the built-in functions"
This reverts commit 287545b02a .
Reason: test failures
Updates #2712
|
2023-07-28 00:54:36 +09:00 |
|
Hajime Hoshi
|
287545b02a
|
internal/shader: bug fix: stricter type checks for the built-in functions
Closes #2712
|
2023-07-28 00:51:42 +09:00 |
|
Hajime Hoshi
|
ef08873f30
|
internal/shader: reland2: bug fix: int + ivec failed
Closes #2707
|
2023-07-26 01:23:02 +09:00 |
|
Hajime Hoshi
|
8aefa49510
|
Revert "internal/shader: reland: bug fix: int + ivec failed"
This reverts commit 1c4a0ac0dc .
Reason: TestShaderUniformMatrix2 failed on Windows
Updates #2707
|
2023-07-26 00:30:17 +09:00 |
|
Hajime Hoshi
|
1c4a0ac0dc
|
internal/shader: reland: bug fix: int + ivec failed
Closes #2707
|
2023-07-25 23:02:06 +09:00 |
|
Hajime Hoshi
|
3d8d759976
|
Revert "internal/shader: bug fix: int + ivec failed"
This reverts commit a93908503a .
Reason: test failures at TestShaderUniformMatrix2
Updates #2070
|
2023-07-25 22:53:02 +09:00 |
|
Hajime Hoshi
|
a93908503a
|
internal/shader: bug fix: int + ivec failed
Closes #2707
|
2023-07-25 22:42:06 +09:00 |
|
Hajime Hoshi
|
ad63d0842c
|
internal/shader: refactoring: check dimensions at AreValidTypesForBinaryOp
|
2023-07-25 13:46:44 +09:00 |
|
Hajime Hoshi
|
6b94de4ef6
|
internal/shader: refactoring: integrate type checks to shaderir.AreValidTypesForBinaryOp
|
2023-07-25 02:51:25 +09:00 |
|
Hajime Hoshi
|
b743b7ab50
|
internal/shader: bug fix: return true for float must fail
Closes #2706
|
2023-07-25 02:51:18 +09:00 |
|
Hajime Hoshi
|
29545906c0
|
internal/shader: refactoring
|
2023-07-25 01:40:47 +09:00 |
|