Hajime Hoshi
|
fec9cae66a
|
examples/shader: Merge generate.go and main.go
|
2020-08-10 21:12:34 +09:00 |
|
Tom Lister
|
6e5a9a4534
|
examples/shader: Add the chromatic aberration example (#1288)
Updates #1284
|
2020-08-10 21:08:53 +09:00 |
|
Hajime Hoshi
|
d66e48b91f
|
Update Oto to v0.6.3
|
2020-08-10 15:37:13 +09:00 |
|
Hajime Hoshi
|
8dec91db43
|
examples/shader: Add the radial blur example
Updates #1284
|
2020-08-10 05:16:44 +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
|
646518f2e8
|
shaderir: Fix the test side: local variables for 'for' stmts must be reserved
|
2020-08-09 22:12:35 +09:00 |
|
Hajime Hoshi
|
b73fecae79
|
shaderir: Add tests for different counter types
|
2020-08-09 21:44:06 +09:00 |
|
Hajime Hoshi
|
2707915376
|
shaderir/glsl, shaderir/metal: Bug fix: Wrong local variables with multiple 'for' statements
|
2020-08-09 20:12:56 +09:00 |
|
Hajime Hoshi
|
80361443cc
|
shaderir/glsl, shaderir/metal: Bug fix: Wrong local variables in for
|
2020-08-09 20:06:13 +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
|
febdc46ad5
|
shaderir/metal: Better array initialization
Updates #1285
|
2020-08-09 04:40:15 +09:00 |
|
Hajime Hoshi
|
a536b3ee25
|
shaderir/metal: Bug fix: Array initialization
Updates #1285
|
2020-08-09 04:22:12 +09:00 |
|
Hajime Hoshi
|
4d1947f711
|
grpahicsdriver/metal: Better error message
|
2020-08-09 04:06:30 +09:00 |
|
Hajime Hoshi
|
00a92a21a3
|
shader: Add compilation tests for Metal
|
2020-08-08 21:29:01 +09:00 |
|
Hajime Hoshi
|
a45e241da1
|
shaderir/metal: Implement the shader IR compiler for Metal
Fixes #1165
|
2020-08-08 19:14:57 +09:00 |
|
Hajime Hoshi
|
18b3859e20
|
shaderir: Export IsValidSwizzling
This is a preparation for compiling the IR to Metal.
Updates #1165
|
2020-08-08 19:08:10 +09:00 |
|
Hajime Hoshi
|
2b89710600
|
graphicsdriver/metal: Refactoring
|
2020-08-08 18:05:58 +09:00 |
|
Hajime Hoshi
|
caad187cd3
|
testing: Bug fix: Wrong attribute variables
|
2020-08-08 17:42:54 +09:00 |
|
Hajime Hoshi
|
6dc74d308b
|
graphicsdriver/metal: Rename viewportSize to internalSize and use it more
|
2020-08-08 16:07:14 +09:00 |
|
Hajime Hoshi
|
b4046a795e
|
graphics: Reduce the usage of InternalImageSize
|
2020-08-08 16:01:33 +09:00 |
|
Hajime Hoshi
|
ad3a8bca7f
|
Add Muang to AUTHORS
|
2020-08-08 03:13:31 +09:00 |
|
Hajime Hoshi
|
fe1cea533a
|
graphicsdriver/metal: Add a generalized 'draw' function
This is a preparation for rendering shaders.
Updates #1165
|
2020-08-08 03:12:44 +09:00 |
|
Hajime Hoshi
|
28c638cb5b
|
graphicsdriver/opengl: Unexpose NewShader
|
2020-08-08 03:12:44 +09:00 |
|
Muang
|
5a5a45a42f
|
ebiten: Correct a typo (#1282)
|
2020-08-08 03:12:18 +09:00 |
|
Hajime Hoshi
|
ae28b83d45
|
testing: Fix wrong comments
|
2020-08-07 12:26:00 +09:00 |
|
Hajime Hoshi
|
00ccc8ad85
|
shaderir/glsl: Refactoring
|
2020-08-07 01:53:22 +09:00 |
|
Hajime Hoshi
|
6576a1da76
|
shaderir/glsl: Refactoring
|
2020-08-06 17:53:28 +09:00 |
|
Hajime Hoshi
|
6003d85f75
|
shaderir: Remove some builtin functions
'degrees' and 'radians' are not defined in Metal.
|
2020-08-05 02:06:28 +09:00 |
|
Hajime Hoshi
|
ffee5eb6b8
|
shaderir/glsl: Fix the panic messages
|
2020-08-05 01:50:41 +09:00 |
|
Hajime Hoshi
|
c22ec580bc
|
shaderir: Remove bultin functions for bvec
|
2020-08-05 01:41:06 +09:00 |
|
Hajime Hoshi
|
fb59901609
|
graphicscommand: Bug fix: build error
|
2020-08-04 01:08:29 +09:00 |
|
Hajime Hoshi
|
cf2f7009aa
|
graphicscommand: Allow shader tests on browsers
Updates #1166
|
2020-08-04 00:59:27 +09:00 |
|
Hajime Hoshi
|
8bac08cbd9
|
Add internal/shaderir/glsl
|
2020-08-03 23:27:27 +09:00 |
|
Hajime Hoshi
|
28af45bf0f
|
Update Oto version
Fixes #1280
|
2020-08-03 03:10:59 +09:00 |
|
Hajime Hoshi
|
79e252c158
|
shaderir: Refactoring
|
2020-08-02 00:09:12 +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
|
bab05874cd
|
shaderir: Remove unnecessary empty lines
|
2020-08-01 19:04:10 +09:00 |
|
Hajime Hoshi
|
38dcadb233
|
graphicsdriver/opengl: Add program error info to the error
|
2020-08-01 18:58:05 +09:00 |
|
Hajime Hoshi
|
a4334c5464
|
shader: Use arrays at uniform variables
Fixes #1274
|
2020-08-01 17:22:10 +09:00 |
|