ebiten/internal/shader/testdata
Hajime Hoshi 00e45affe9 all: update OpenGL version from 2.1 to 3.2
'texelFetch' requires OpenGLSL 1.30, which requires OpenGL 3.0+.
macOS might not support OpenGL 3.0 and 3.1, so adopt 3.2.

Updates #1431
2023-04-23 14:25:36 +09:00
..
array2.expected.metal internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
array2.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
array2.go shader: Reland: Bug fix: Checking unused variables defined with var 2020-09-17 17:46:35 +09:00
array.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
array.go internal/shader: implement strict type checks in assignments 2022-04-09 00:02:20 +09:00
assign_multiple2.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
assign_multiple2.go internal/shader: Add more tests and improve the comment 2021-04-09 01:25:37 +09:00
assign_multiple.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
assign_multiple.go shader: Add more tests 2020-06-11 23:26:32 +09:00
assign.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
assign.go shader: Add more tests 2020-06-11 23:26:32 +09:00
atan.expected.metal internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
atan.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
atan.go shaderir: Bug fix: Implement atan2 for Metal correctly 2020-09-22 04:29:34 +09:00
blank.expected.vs shader: Bug fix: Ignore blank identifiers for the duplication check 2020-09-03 03:03:06 +09:00
blank.go shader: Check unused local variables 2020-09-13 22:36:41 +09:00
blocks2.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
blocks2.go shader: Check unused local variables 2020-09-13 22:36:41 +09:00
blocks3.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
blocks3.go shader: Reland: Bug fix: Checking unused variables defined with var 2020-09-17 17:46:35 +09:00
blocks.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
blocks.go
bool.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
bool.go shader: Bug fix: Comparison with constants didn't work 2020-07-05 17:33:10 +09:00
call_multiple_nested.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
call_multiple_nested.go
call_multiple.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
call_multiple.go internal/shader: Check the number of arguments 2021-11-14 17:34:06 +09:00
call.expected.vs internal/shader: optimization: remove unnecessary local variables 2022-07-10 19:01:58 +09:00
call.go
const2.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
const2.go internal/shader: Implement basic constants 2021-04-09 00:00:49 +09:00
const3.expected.vs internal/shader: Bug fix: Treat multiple constant definitions in one statement correctly 2021-04-09 01:18:38 +09:00
const3.go internal/shader: Bug fix: Treat multiple constant definitions in one statement correctly 2021-04-09 01:18:38 +09:00
const4.expected.vs internal/shader: optimization: remove unnecessary local variables 2022-07-10 19:01:58 +09:00
const4.go internal/shader: Add more tests for const 2021-11-14 17:06:54 +09:00
const.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
const.go internal/shader: Implement basic constants 2021-04-09 00:00:49 +09:00
define2.expected.vs internal/shader: optimization: remove unnecessary local variables 2022-07-10 19:01:58 +09:00
define2.go shader: Check unused local variables 2020-09-13 22:36:41 +09:00
define_multiple.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
define_multiple.go shader: Check unused local variables 2020-09-13 22:36:41 +09:00
define_type.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
define_type.go shader: Add more tests 2020-06-11 23:26:32 +09:00
define.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
define.go
for2.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
for2.go internal/shader: bug fix: check types correctly for assign operators 2022-01-12 00:39:39 +09:00
for3.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
for3.go shader: Check unused local variables 2020-09-13 22:36:41 +09:00
for4.expected.vs internal/shader: optimization: remove unnecessary local variables 2022-07-10 19:01:58 +09:00
for4.go shader: Add more tests using a for-loop 2020-08-10 01:14:42 +09:00
for5.expected.fs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
for5.expected.vs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
for5.go shader: Bug fix: Wrong local variable index in a block in the fragment entry point 2020-08-10 02:29:49 +09:00
for.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
for.go internal/shader: bug fix: check types correctly for assign operators 2022-01-12 00:39:39 +09:00
func_body.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
func_body.go
func_multiple.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
func_multiple.go
func.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
func.go shader: Check the existence of 'return' 2020-09-06 22:33:27 +09:00
if_else.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
if_else.go shader: Add 'if' 2020-07-05 02:33:49 +09:00
if_init.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
if_init.go shader: Bug fix: Wrong out-params when returning is in a block 2020-07-05 04:30:14 +09:00
if.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
if.go shader: Add 'if' 2020-07-05 02:33:49 +09:00
inc.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
inc.go shader: Implement operators ++ and -- 2020-07-12 23:07:30 +09:00
issue1236.expected.hlsl internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
issue1236.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
issue1236.go shader: Bug fix: correct type deduction from 'mat2*vec2' 2020-07-04 20:08:01 +09:00
issue1238.expected.fs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
issue1238.expected.vs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
issue1238.go shaderir: Bug fix: Early-returns in the entry points didn't work 2020-07-05 17:57:57 +09:00
issue1245.expected.fs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
issue1245.expected.vs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
issue1245.go shader: Bug fix: Use integer literals in the integer context 2020-08-12 13:47:22 +09:00
issue1248.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
issue1248.go shader: Implement swapping variables 2020-08-16 18:40:45 +09:00
issue1298.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
issue1298.go shader: Bug fix: Wrong type deduction with int(x) 2020-08-12 12:16:22 +09:00
issue1299.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
issue1299.go shader: Bug fix: Use integer literals in the integer context 2020-08-12 13:47:22 +09:00
issue1701.expected.fs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
issue1701.expected.vs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
issue1701.go internal/shaderir/glsl: Bug fix: Remove uncalled functions 2021-07-09 20:22:40 +09:00
issue1874.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
issue1874.go internal/shader: Bug fix: Treat a non-typed consntat argument as a float 2021-11-14 15:47:59 +09:00
issue2011.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
issue2011.go internal/shader: add test files 2022-03-10 01:02:51 +09:00
len.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
len.go shader: Implement cap function 2020-10-17 23:36:09 +09:00
number_binary.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
number_binary.go shader: Parse number literals in binary expressions correctly 2020-06-21 21:32:40 +09:00
number_unary.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
number_unary.go shader: Parse number literals in unary expressions correctly 2020-06-21 21:47:27 +09:00
number.expected.vs internal/shader: optimization: remove unnecessary local variables 2022-07-10 19:01:58 +09:00
number.go internal/shader: bug fix: wrong test (int*float) 2022-01-21 01:31:46 +09:00
out2.expected.vs shader: Bug fix: Treat multiple-context at return correctly 2020-09-12 17:44:04 +09:00
out2.go shader: Bug fix: Treat multiple-context at return correctly 2020-09-12 17:44:04 +09:00
out.expected.hlsl internal/shaderir/hlsl: add function forward declarations 2022-03-26 19:10:03 +09:00
out.expected.metal shader: Initialize output parameters explicitly 2020-09-12 00:35:14 +09:00
out.expected.vs shader: Initialize output parameters explicitly 2020-09-12 00:35:14 +09:00
out.go shader: Initialize output parameters explicitly 2020-09-12 00:35:14 +09:00
return.expected.vs shader: Initialize output parameters explicitly 2020-09-12 00:35:14 +09:00
return.go shader: Initialize output parameters explicitly 2020-09-12 00:35:14 +09:00
uniforms.expected.vs
uniforms.go
var2.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
var2.go
var_multiple.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
var_multiple.go shader: Refactoring: Remove detectType 2020-06-20 17:20:44 +09:00
var.expected.vs internal/shader: optimization: use a regular return for a function with one output parameter 2022-07-10 18:18:46 +09:00
var.go
vertex_fragment.expected.fs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
vertex_fragment.expected.metal internal/shader: use a return statement in a fragment shader entrypoint 2022-08-17 22:02:13 +09:00
vertex_fragment.expected.vs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
vertex_fragment.go shader: Refactoring: Remove detectType 2020-06-20 17:20:44 +09:00
vertex.expected.fs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
vertex.expected.hlsl internal/shaderir: add internal/shaderir/hlsl 2022-03-26 01:31:05 +09:00
vertex.expected.metal internal/graphicsdriver/metal: support macOS 10.12 by removing packed types 2022-05-28 23:57:59 +09:00
vertex.expected.vs all: update OpenGL version from 2.1 to 3.2 2023-04-23 14:25:36 +09:00
vertex.go