Hajime Hoshi
|
d086e83a62
|
internal/shader: stabilize wasm tests on GitHub CI
|
2024-07-26 03:16:34 +09:00 |
|
Hajime Hoshi
|
5d47863a27
|
internal/shader: bug fix: untyped const bool couldn't be an if condition
Closes #2993
|
2024-07-26 02:09:16 +09:00 |
|
Hajime Hoshi
|
09cefc6e71
|
internal/shader: bug fix: crash with an invalid operand
Closes #2989
|
2024-07-26 00:06:12 +09:00 |
|
Hajime Hoshi
|
5d4a68b0ea
|
internal/shaderir/hlsl: refactoring: separate calculation uniform offsets
|
2024-05-05 20:47:35 +09:00 |
|
Hajime Hoshi
|
c46f62e184
|
all: add a new package shaderprecomp
The current implementation is only for macOS so far.
Updates #2861
|
2024-05-05 03:51:04 +09:00 |
|
Hajime Hoshi
|
c390f0a9fa
|
internal/shader: bug fix: treat a built-in function as an invalid argument
Closes #2965
|
2024-04-29 16:44:33 +09:00 |
|
Hajime Hoshi
|
ea6fce45ff
|
internal/shader: bug fix: crash on assignment mismatches
|
2024-03-23 15:30:49 +09:00 |
|
Hajime Hoshi
|
66667fe877
|
internal/shader: bug fix: test failures
Updates #2934
|
2024-03-23 15:15:33 +09:00 |
|
Hajime Hoshi
|
7842942b24
|
internal/shader: bug fix: need to covert constant type correctly for assignments
Closes #2934
|
2024-03-23 15:08:34 +09:00 |
|
Hajime Hoshi
|
e7bb66bb2f
|
internal/shader: bug fix: ++/-- statements didn't work for vec2 on browsers
Closes #2933
|
2024-03-22 23:15:33 +09:00 |
|
Mykhailo Lohachov
|
1586c6764a
|
internal/shaderir: Kage update support for shift operators (#2916)
Closes #2755
|
2024-03-22 18:14:03 +09:00 |
|
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 |
|