Hajime Hoshi
|
e0b8b9945f
|
shader: Check returning value types and the number
|
2020-09-06 22:08:57 +09:00 |
|
Hajime Hoshi
|
29c7b7687f
|
shaderir: Add Program.UniformNames
Updates #1324
|
2020-09-06 03:41:17 +09:00 |
|
Hajime Hoshi
|
55f0c983ba
|
shader: Bug fix: Ignore blank identifiers for the duplication check
Fixes #1330
|
2020-09-03 03:03:06 +09:00 |
|
Hajime Hoshi
|
4ac11bf156
|
shader: Bug fix: Treat number literals in function calls correctly
|
2020-09-03 02:45:22 +09:00 |
|
Hajime Hoshi
|
0b1d29b6e7
|
shader: Bug fix: Returning value's integer literals were wrong
|
2020-09-03 02:10:52 +09:00 |
|
Hajime Hoshi
|
f5829b2cf3
|
shader: Check at least one variable on left side of :=
Updates #1330
|
2020-09-03 01:15:41 +09:00 |
|
Hajime Hoshi
|
8c779447db
|
shader: Friendly error messages when local variable names are duplicated
Fixes #1254
|
2020-08-30 21:22:10 +09:00 |
|
Hajime Hoshi
|
a9b94a183b
|
shader: Implement swapping variables
Fixes #1248
|
2020-08-16 18:40:45 +09:00 |
|
Hajime Hoshi
|
06ed4f5444
|
shader: Implement len function
Fixes #1279
|
2020-08-16 02:07:39 +09:00 |
|
Hajime Hoshi
|
f6c3e0579f
|
shaderir: Adopt the precision 10 for float literals
Adopted the same precision of (*math/big.Float).String().
|
2020-08-13 00:01:16 +09:00 |
|
Hajime Hoshi
|
50cd33ed9b
|
shader: Bug fix: Use integer literals in the integer context
Fixes #1299
|
2020-08-12 13:47:22 +09:00 |
|
Hajime Hoshi
|
39d829d3bf
|
shader: Check the index is an exact integer
|
2020-08-12 13:47:22 +09:00 |
|
Hajime Hoshi
|
18732ca879
|
shader: Bug fix: Wrong type deduction with int(x)
Fixes #1298
|
2020-08-12 12:16:22 +09:00 |
|
Hajime Hoshi
|
08270ee729
|
shader: Enable to parse ... in an array type
|
2020-08-11 23:51:22 +09:00 |
|
Hajime Hoshi
|
ee049a19ac
|
shader: Bug fix: Wrong local variable index in a block in the fragment entry point
|
2020-08-10 02:29:49 +09:00 |
|
Hajime Hoshi
|
9b6b306ca3
|
shader: Bug fix: Wrong local variable index in a block in an entry point
|
2020-08-10 02:22:09 +09:00 |
|
Hajime Hoshi
|
4d20da9bc0
|
shader: Refactoring
|
2020-08-10 02:02:26 +09:00 |
|
Hajime Hoshi
|
e534fe8246
|
shader: Add more tests using a for-loop
|
2020-08-10 01:14:42 +09:00 |
|
Hajime Hoshi
|
5d2606b6a5
|
shader: Bug fix: Wrong local variable indices in blocks
|
2020-08-10 01:09:02 +09:00 |
|
Hajime Hoshi
|
240e20ad87
|
shader: Bug fix: Wrong variable index at declaration
|
2020-08-09 23:23:40 +09:00 |
|
Hajime Hoshi
|
a0494210c3
|
shader: Bug fix: Wrong local variable index in a block
|
2020-08-09 23:14:28 +09:00 |
|
Hajime Hoshi
|
eacc9fac6a
|
shader: Indexing with non-consntat value should be allowed
|
2020-08-09 22:50:53 +09:00 |
|
Hajime Hoshi
|
5dc0d4e1a4
|
shader: Add more tests about 'for' loops
|
2020-08-09 22:26:57 +09:00 |
|
Hajime Hoshi
|
dee8690502
|
shaderir/glsl: Bug fix: Copying an array did not work on GLSL
Fixes #1286
|
2020-08-09 22:18:58 +09:00 |
|
Hajime Hoshi
|
ee9257e626
|
shaderir: Use pointers for Block
|
2020-08-09 18:00:55 +09:00 |
|
Hajime Hoshi
|
07514a37c8
|
shaderir/glsl: Bug fix: Initialize an array
Updates #1285
|
2020-08-09 04:59:29 +09:00 |
|
Hajime Hoshi
|
00a92a21a3
|
shader: Add compilation tests for Metal
|
2020-08-08 21:29:01 +09:00 |
|
Hajime Hoshi
|
8bac08cbd9
|
Add internal/shaderir/glsl
|
2020-08-03 23:27:27 +09:00 |
|
Hajime Hoshi
|
fa60e31997
|
shaderir: Bug fix: Pass tests
|
2020-08-01 21:22:47 +09:00 |
|
Hajime Hoshi
|
4bd01fd038
|
graphicsdriver/opengl: Implement shaders for browsers
Fixes #1166
|
2020-08-01 20:27:46 +09:00 |
|
Hajime Hoshi
|
a4334c5464
|
shader: Use arrays at uniform variables
Fixes #1274
|
2020-08-01 17:22:10 +09:00 |
|
Hajime Hoshi
|
2b4cf7fd17
|
shader: Remove unnecessary Println
|
2020-08-01 16:47:17 +09:00 |
|
Hajime Hoshi
|
ac16564e95
|
shaderir: Add indexing
Fixes #1235
|
2020-07-29 23:49:57 +09:00 |
|
Hajime Hoshi
|
a0549820fd
|
shadeir: Add array composite literals
Updates #1235
|
2020-07-29 23:49:54 +09:00 |
|
Hajime Hoshi
|
004b279e4f
|
shader: Add array initialization
Updates #1235
|
2020-07-29 22:43:51 +09:00 |
|
Hajime Hoshi
|
2dc6cbe51a
|
shader: Make parseType return a boolean value indicating ok
|
2020-07-29 12:02:07 +09:00 |
|
Hajime Hoshi
|
d9c54bc0d0
|
shader: Implement an array variable
Updates #1235
|
2020-07-29 02:27:05 +09:00 |
|
Hajime Hoshi
|
a43efb66b2
|
shaderir: Bug fix: Function prototypes were required for GLSL
Fixes #1267
|
2020-07-28 00:04:03 +09:00 |
|
Hajime Hoshi
|
bb1d08a681
|
shader: Remove the comments
|
2020-07-20 11:14:54 +09:00 |
|
Hajime Hoshi
|
1217db3b1e
|
ebiten: Remove user-defined vertex shaders
Fixes #1253
|
2020-07-20 10:07:55 +09:00 |
|
Hajime Hoshi
|
36e9803cea
|
shader: Enable to get pixels from multiple images
Updates #1193
|
2020-07-19 02:33:43 +09:00 |
|
Hajime Hoshi
|
4bd3bc16ac
|
shader: Define special variables for textures __t%d
This eanbles to define texture0At to texture3At.
Updates #1193
|
2020-07-18 19:37:50 +09:00 |
|
Hajime Hoshi
|
385ff8efdf
|
shader: Bug fix: Wrong local variable names at for-loop
Fixes #1245
|
2020-07-13 22:49:15 +09:00 |
|
Hajime Hoshi
|
0e6f4fccc0
|
shader: Add break/continue
|
2020-07-13 02:59:11 +09:00 |
|
Hajime Hoshi
|
c02213e900
|
shader: Use the loop counters in the test
|
2020-07-13 01:48:00 +09:00 |
|
Hajime Hoshi
|
2ca551cdc6
|
shader: Implement 'for' statement
Fixes #1230
|
2020-07-13 01:44:05 +09:00 |
|
Hajime Hoshi
|
e15ee77e8e
|
shader: Implement operators ++ and --
|
2020-07-12 23:07:30 +09:00 |
|
Hajime Hoshi
|
4a8bd688a9
|
shader: Bug fix: index out of range at defining a var
|
2020-07-12 18:40:01 +09:00 |
|
Hajime Hoshi
|
dcb693460e
|
shader: Refactoring: Let parseDecl return statements
|
2020-07-12 15:51:06 +09:00 |
|
Hajime Hoshi
|
914eb093f8
|
shader: Bug fix: Compile error on the test
|
2020-07-08 01:38:27 +09:00 |
|