Hajime Hoshi
|
b2a1b9a9a2
internal/shader: bug fix: float constant didn't work with assign operators
|
2 years ago |
Hajime Hoshi
|
6dcd2ff11c
internal/shader: bug fix: wrong assignment rule for booleans
|
2 years ago |
Hajime Hoshi
|
15fe7158fd
internal/shader: implement strict type checks in assignments
|
2 years ago |
Hajime Hoshi
|
a617576879
internal/shaderir: replace Mul with ComponentWiseMul and MatrixMul
|
2 years ago |
Hajime Hoshi
|
880dd0682e
internal/shader: bug fix: fix some failing tests
|
2 years ago |
Hajime Hoshi
|
84c680c6ed
internal/shader: ban the operator div on a matrix
|
2 years ago |
Hajime Hoshi
|
2e5b4954f3
internal/shader: bug fix: forbid mat + float
|
2 years ago |
Hajime Hoshi
|
99f003a17a
internal/shader: bug fix: mat *= vec is not allowed
|
2 years ago |
Hajime Hoshi
|
0415773b94
internal/shader: bug fix: allow the *= operator for a vector and a matrix
|
2 years ago |
Hajime Hoshi
|
0a537b7ad2
internal/shader: bug fix: a number literal must be represented as floats in some contexts
|
2 years ago |
Hajime Hoshi
|
4940159e5b
internal/shader: bug fix: operators between vec/mat and float should work
|
2 years ago |
Hajime Hoshi
|
d110716dc0
internal/shader: bug fix: check types correctly for assign operators
|
2 years ago |
Hajime Hoshi
|
83bd0772d4
internal/shader: bug fix: % should be valid only for integers
|
2 years ago |
Hajime Hoshi
|
374871c031
internal/shader: bug fix: a meaningless statement should raise an error (a non-call expression statement)
|
2 years ago |
Hajime Hoshi
|
481a2145ae
internal/shader: bug fix: a meaningless statement should raise an error
|
2 years ago |
Hajime Hoshi
|
77b51e4707
internal/shader: Add more tests and improve the comment
|
3 years ago |
Hajime Hoshi
|
1cdc6ea72b
internal/shader: Bug fix: Treat multiple constant definitions in one statement correctly
|
3 years ago |
Hajime Hoshi
|
d3fbf377ef
shader: Bug fix: A wrong usage of a pointer
|
3 years ago |
Hajime Hoshi
|
bf515bb594
Update version to v2.0.0-alpha
|
4 years ago |
Hajime Hoshi
|
e1d8629189
shader: Bug fix: a blank identifier lhs and += cannot work
|
4 years ago |
Hajime Hoshi
|
fd51abfb0d
shader: Bug fix ++/-- must not be applied to a blank identifier
|
4 years ago |
Hajime Hoshi
|
7666987b09
shader: Bug fix: a blank identifier cannot be used as values
|
4 years ago |
Hajime Hoshi
|
154f86e6c1
shader: Check unused local variables
|
4 years ago |
Hajime Hoshi
|
a5af597594
shader: Forbid assigning to special variables
|
4 years ago |
Hajime Hoshi
|
8833e46c7e
shader: Refactoring
|
4 years ago |
Hajime Hoshi
|
a0db26f234
ebiten: Bug fix: Test failuer (TestShaderWrongReturn)
|
4 years ago |
Hajime Hoshi
|
d001f49ad7
shader: Bug fix: Treat multiple-context at return correctly
|
4 years ago |
Hajime Hoshi
|
2fb1033183
shader: Initialize output parameters explicitly
|
4 years ago |
Hajime Hoshi
|
41d4fc288b
shader: Reword
|
4 years ago |
Hajime Hoshi
|
e0b8b9945f
shader: Check returning value types and the number
|
4 years ago |