Hajime Hoshi
|
0b9cbaa1ed
internal/shader: introduce integer vectors (ivec2, ivec3, ivec4)
|
2 years ago |
Hajime Hoshi
|
7961654927
internal/graphicsdriver/metal: bug fix: wrong alignment for vec3
|
2 years ago |
Hajime Hoshi
|
bba196d1ec
ebiten: allow array types for uniform variables
|
2 years ago |
Hajime Hoshi
|
1ecac8d834
all: allow integer uniform variables for Kage shaders
|
2 years ago |
Artem Yadelskyi
|
10415d417a
all: replace `interface{}` with `any` (#2430)
|
2 years ago |
Hajime Hoshi
|
b0b64e3610
ebiten: use premultiplied-alpha format for ColorScale
|
2 years ago |
Hajime Hoshi
|
1f70307582
ebiten: add DrawRectShaderOptions.ColorScale
|
2 years ago |
Hajime Hoshi
|
cf92158e33
ebiten: bug fix: add an indirect function call for a fragment shader
|
2 years ago |
Hajime Hoshi
|
652cd169b2
ebiten: revert the changes for DrawRectShader
|
2 years ago |
Hajime Hoshi
|
9bd46cb2b5
ebiten: bug fix: assigning to arguments doesn't work with OpenGL
|
2 years ago |
Hajime Hoshi
|
f8c4634017
ebiten: always specify the source region at DrawRectShader
|
2 years ago |
Hajime Hoshi
|
205245b094
internal/shader: implement a new built-in function discard
|
2 years ago |
Hajime Hoshi
|
0217ed0544
ebiten: add WritePixels replacing ReplacePixels
|
2 years ago |
Hajime Hoshi
|
c01821ca5c
internal/shader: use all functions for vector comparisons
|
2 years ago |
Hajime Hoshi
|
bac34a4474
ebiten: add NewImageWithOptions and NewImageOptions
|
2 years ago |
Hajime Hoshi
|
2d912a2387
internal/shaderir/hlsl: bug fix: wrong offset of uniform array variables
|
2 years ago |
Hajime Hoshi
|
aef00a5235
internal/shader: bug fix: wrong type deduction at (scalar)*(matrix)
|
2 years ago |
Hajime Hoshi
|
6bd3c81e27
internal/graphicsdriver/directx, internal/graphicsdriver/metal: bug fix: uniform matrix-array variables were passed wrongly
|
2 years ago |
Hajime Hoshi
|
f6d87f6ee8
internal/graphicsdriver/directx, internal/graphicsdriver/metal: bug fix: uniform matrix variables were passed wrongly
|
2 years ago |
Hajime Hoshi
|
79e93d3b12
internal/graphicsdriver: introduce the DirectX driver
|
2 years ago |
Hajime Hoshi
|
dcccd27629
internal/shaderir/msl: bug fix: mod for a vector and a scalar didn't work
|
2 years ago |
Hajime Hoshi
|
b96b75d51c
ebiten: add TestShaderMatrixInitialize
|
2 years ago |
Hajime Hoshi
|
31104c4e79
internal/processtest: remove TestShaderNoMain and add shadernomain.go
|
2 years ago |
Hajime Hoshi
|
81b9f91f86
internal/graphicscommand: compile shaders lazily
|
2 years ago |
Hajime Hoshi
|
9b1adf799d
internal/shader: move syntax tests to internal/shader
|
2 years ago |
Hajime Hoshi
|
3c1e64dd67
internal/shaderir/metal: bug fix: define the 'mod' function correctly
|
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 |