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
|
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
|
75103f39dd
|
internal/shader: bug fix: error on a function name in a function call
Updates #2891
|
2024-02-11 21:09:49 +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
|
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
|
c13980158f
|
internal/shader: add type checks for bitwise operators
Updates #2754
|
2023-09-12 02:40:42 +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
|
5ddf1df423
|
internal/shaderir: remove ConstType
Closes #2550
|
2023-07-29 15:34:30 +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
|
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
|
29545906c0
|
internal/shader: refactoring
|
2023-07-25 01:40:47 +09:00 |
|
Hajime Hoshi
|
c329eab1b2
|
internal/shader: refactoring
|
2023-07-24 12:29:27 +09:00 |
|
Hajime Hoshi
|
20123e8420
|
internal/shader: bug fix: unary operators should keep the type info
Closes #2705
|
2023-07-24 02:21:42 +09:00 |
|
Hajime Hoshi
|
5a1109e56a
|
internal/shader: refactoring
|
2023-07-24 02:06:54 +09:00 |
|
Hajime Hoshi
|
d99da81203
|
internal/shader: refactoring
|
2023-07-24 01:49:37 +09:00 |
|
Hajime Hoshi
|
a8c3eb7167
|
internal/shader: bug fix: don't allow a binary op with different typed constants
Closes #2704
|
2023-07-24 01:41:22 +09:00 |
|
Hajime Hoshi
|
9ffbc51607
|
internal/shader: remove ConstType usages from canApplyBinaryOp
Updates #2550
|
2023-07-23 14:55:15 +09:00 |
|
Hajime Hoshi
|
12e60b7273
|
internal/shader: reduce shaderir.ConstType usages
Updates #2550
|
2023-07-23 13:08:08 +09:00 |
|
Hajime Hoshi
|
a5af8f3b0b
|
internal/shaderir: remove isUntypedInteger
Updates #2550
|
2023-07-23 13:04:25 +09:00 |
|
guangwu
|
54e1263565
|
all: unnecessary use of fmt.Sprintf (#2691)
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
|
2023-07-05 16:36:29 +09:00 |
|
Hajime Hoshi
|
9d2178cf71
|
internal/shaderir: rename the built-in func to get a texel to __texelAt
|
2023-04-23 22:57:30 +09:00 |
|
Hajime Hoshi
|
b5ca404c42
|
internal/shader: bug fix: a swizzling 'r' didn't work for vec2
Closes #2652
|
2023-04-23 21:29:20 +09:00 |
|
Hajime Hoshi
|
ad7d5a86f9
|
internal/shader: bug fix: check the type for composite literal
Closes #2348
|
2023-02-20 23:07:11 +09:00 |
|
Hajime Hoshi
|
e9e5d27d2c
|
internal/shader: bug fix: % operators for integer vecs didn't work
Closes #1911
|
2022-11-21 01:39:20 +09:00 |
|
Hajime Hoshi
|
0b9cbaa1ed
|
internal/shader: introduce integer vectors (ivec2, ivec3, ivec4)
Closes #1911
|
2022-11-21 00:31:23 +09:00 |
|
Hajime Hoshi
|
dc1df824a5
|
internal/shader: more strict type checks with built-in functions
|
2022-11-20 17:47:53 +09:00 |
|
Hajime Hoshi
|
5d8216def3
|
internal/shader: stricter const type check
|
2022-11-20 15:52:33 +09:00 |
|
Hajime Hoshi
|
5f4e3a0348
|
internal/shader: add swizzling check
|
2022-11-19 22:39:17 +09:00 |
|
Hajime Hoshi
|
4ade34bc02
|
internal/shaderir: bug fix: wrong argument check on pow
Closes #2304
|
2022-09-05 02:35:48 +09:00 |
|
Hajime Hoshi
|
85d54515cd
|
internal/shader: check types for && and || correctly
Updates #2256
|
2022-08-19 17:34:03 +09:00 |
|