Hajime Hoshi
|
be1a8bddbf
|
uidriver/js: Bug fix: Create goroutine for a function passed to rAF
This is necessary not to cause dead-lock.
Updates #1161
|
2020-05-19 03:28:20 +09:00 |
|
Hajime Hoshi
|
7f2092f964
|
graphicsdriver/opengl: Enable to bind multiple textures (in theory)
|
2020-05-17 23:57:42 +09:00 |
|
Hajime Hoshi
|
733c463e26
|
graphicsdriver/opengl: Treat a texture as a uniform variable
|
2020-05-17 23:25:49 +09:00 |
|
Hajime Hoshi
|
68ef41e256
|
graphicsdriver/opengl: Integrate uniform variables
|
2020-05-17 20:20:29 +09:00 |
|
Hajime Hoshi
|
ff311dd564
|
graphicsdriver/opengl: Pass uniform values to useProgram
|
2020-05-17 19:43:01 +09:00 |
|
Hajime Hoshi
|
84e2c6f994
|
graphicsdriver/opengl/gl: Bug fix: misuse of unsafe.Pointer
|
2020-05-17 19:42:23 +09:00 |
|
Hajime Hoshi
|
8ab12827c0
|
graphicsdriver/opengl: Refactoring
|
2020-05-17 19:01:46 +09:00 |
|
Hajime Hoshi
|
9cc128fb40
|
graphicsdriver/opengl: Integrate last uniform values
|
2020-05-17 18:36:33 +09:00 |
|
Hajime Hoshi
|
d12b406e0a
|
graphicsdriver/opengl: Remove unused variables
|
2020-05-17 18:15:27 +09:00 |
|
Hajime Hoshi
|
29dbad28f9
|
shaderir: Add new lines
|
2020-05-17 17:06:21 +09:00 |
|
Hajime Hoshi
|
f4a1f90d92
|
graphicsdriver/opengl/gl: Reduce reflect usage
|
2020-05-17 14:28:13 +09:00 |
|
Hajime Hoshi
|
156ed320cc
|
shaderir: Remove Variable and VariableType
|
2020-05-17 04:28:03 +09:00 |
|
Hajime Hoshi
|
094d845edd
|
shaderir: Remove Ident
|
2020-05-17 03:00:57 +09:00 |
|
Hajime Hoshi
|
dbbe4ee09c
|
shaderir: Add StructMember
|
2020-05-17 02:46:02 +09:00 |
|
Hajime Hoshi
|
8a6140a92f
|
shaderir: Refactoring
|
2020-05-17 02:45:03 +09:00 |
|
Hajime Hoshi
|
e1d0800f19
|
shaderir: Bug fix: Wrong implementation of isValidSwizzling
|
2020-05-17 02:25:37 +09:00 |
|
Hajime Hoshi
|
7e274050a3
|
shaderir: Add swizzling
|
2020-05-17 02:24:35 +09:00 |
|
Hajime Hoshi
|
7648271eff
|
shaderir: Implement bulit-in functions
|
2020-05-17 00:33:22 +09:00 |
|
Hajime Hoshi
|
6553c237a1
|
shaderir: Add comments
|
2020-05-16 23:42:32 +09:00 |
|
Hajime Hoshi
|
8f4e93338c
|
shaderir: Implement sampler2D
|
2020-05-16 23:33:20 +09:00 |
|
Hajime Hoshi
|
316e502f4b
|
shaderir: Add predefined macros
|
2020-05-16 23:29:01 +09:00 |
|
Hajime Hoshi
|
66e76597d8
|
shaderir: Implement fragment function
|
2020-05-16 23:07:24 +09:00 |
|
Hajime Hoshi
|
ddaed674dd
|
shaderir: Implement vertex function
|
2020-05-16 22:50:20 +09:00 |
|
Hajime Hoshi
|
eb5a2efad8
|
shaderir: Implement return
|
2020-05-16 20:16:04 +09:00 |
|
Hajime Hoshi
|
57d80c185e
|
shaderir: Implement call
|
2020-05-16 19:19:16 +09:00 |
|
Hajime Hoshi
|
5b69e81bd7
|
shaderir: Add more tests
|
2020-05-16 18:09:09 +09:00 |
|
Hajime Hoshi
|
af5249de4d
|
shaderir: Implement selector operator
|
2020-05-16 17:22:17 +09:00 |
|
Hajime Hoshi
|
d4d43ce193
|
shaderir: Allow specifying op for 'for' loop
|
2020-05-16 15:51:54 +09:00 |
|
Hajime Hoshi
|
9f4985943c
|
shaderir: Allow integer literals
|
2020-05-16 03:40:33 +09:00 |
|
Hajime Hoshi
|
3cffe88334
|
shaderir: Add for-loop
|
2020-05-16 03:10:03 +09:00 |
|
Hajime Hoshi
|
931fec9100
|
shaderir: Refactoring
|
2020-05-15 03:37:14 +09:00 |
|
Hajime Hoshi
|
4b8e745824
|
shaderir: Refactoring
|
2020-05-15 03:12:23 +09:00 |
|
Hajime Hoshi
|
e6d78abd11
|
shaderir: Implement 'if'
|
2020-05-15 02:35:58 +09:00 |
|
Hajime Hoshi
|
71ee622997
|
shaderir: Use auto names for variables
|
2020-05-15 01:29:39 +09:00 |
|
Hajime Hoshi
|
1ed004ae05
|
shaderir: Avoid duplications of local variable names
|
2020-05-14 03:52:36 +09:00 |
|
Hajime Hoshi
|
32a88b3b03
|
shaderir: Add Return
|
2020-05-14 03:14:56 +09:00 |
|
Hajime Hoshi
|
d932787e36
|
shaderir: Add parsing expr and stmt
|
2020-05-14 02:13:10 +09:00 |
|
Hajime Hoshi
|
c75a35fd64
|
shaderir: Add more tests
|
2020-05-14 01:07:53 +09:00 |
|
Hajime Hoshi
|
3d7c102472
|
shaderir: Add func params
|
2020-05-13 23:31:17 +09:00 |
|
Hajime Hoshi
|
a3105d6fca
|
shaderir: Add more tests
|
2020-05-13 02:10:59 +09:00 |
|
Hajime Hoshi
|
a5d570a7a8
|
Add shaderir
|
2020-05-12 01:18:18 +09:00 |
|
Hajime Hoshi
|
6d182c4b55
|
shader: Parse structs
|
2020-05-11 00:43:17 +09:00 |
|
Hajime Hoshi
|
90fdececa0
|
shader: Refactoring
|
2020-05-11 00:00:21 +09:00 |
|
Hajime Hoshi
|
ba9d27b8ba
|
shader: Rename type -> basicType
|
2020-05-10 23:28:05 +09:00 |
|
Hajime Hoshi
|
02eafb2929
|
shader: Forbid unexported global variables
|
2020-05-10 21:57:12 +09:00 |
|
Hajime Hoshi
|
a39376ad47
|
shader: Add stmtBlock
|
2020-05-10 21:45:12 +09:00 |
|
Hajime Hoshi
|
73255f4663
|
shader: Add more tests
|
2020-05-10 20:41:43 +09:00 |
|
Hajime Hoshi
|
8ede0b3891
|
shader: Bug fix: fix tests
|
2020-05-10 19:48:24 +09:00 |
|
Hajime Hoshi
|
b78194afd5
|
shader: Detect types from rhs
|
2020-05-10 19:37:09 +09:00 |
|
Hajime Hoshi
|
9430b6be37
|
shader: Parse assignments
|
2020-05-10 02:27:14 +09:00 |
|