ebiten/internal/shader/testdata
Hajime Hoshi 853c1f2b92 internal/shaderir/glsl: Bug fix: Remove uncalled functions
Some built-in functions like dFdx is not available in a vertex shader,
then a function that calls such built-in function should not be in
a vertex shader.

Closes #1701
2021-07-09 20:22:40 +09:00
..
array2.expected.metal shader: Add Metal tests 2020-09-10 01:19:02 +09:00
array2.expected.vs shaderir/glsl: Bug fix: Calculate local variable indices correctly 2020-09-08 00:19:07 +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 shaderir/glsl: Bug fix: Copying an array did not work on GLSL 2020-08-09 22:18:58 +09:00
array.go shaderir: Add indexing 2020-07-29 23:49:57 +09:00
assign_multiple2.expected.vs internal/shader: Add more tests and improve the comment 2021-04-09 01:25:37 +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 shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
assign_multiple.go shader: Add more tests 2020-06-11 23:26:32 +09:00
assign.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
assign.go shader: Add more tests 2020-06-11 23:26:32 +09:00
atan.expected.metal shaderir: Bug fix: Implement atan2 for Metal correctly 2020-09-22 04:29:34 +09:00
atan.expected.vs shaderir: Bug fix: Implement atan2 for Metal correctly 2020-09-22 04:29:34 +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 shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
blocks2.go shader: Check unused local variables 2020-09-13 22:36:41 +09:00
blocks3.expected.vs shader: Bug fix: Wrong local variable indices in blocks 2020-08-10 01:09:02 +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 shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
blocks.go shader: Add testdata directory 2020-06-08 11:18:27 +09:00
bool.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +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 shader: Add testdata directory 2020-06-08 11:18:27 +09:00
call_multiple.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
call_multiple.go shader: Add testdata directory 2020-06-08 11:18:27 +09:00
call.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
call.go shader: Add testdata directory 2020-06-08 11:18:27 +09:00
const2.expected.vs internal/shader: Implement basic constants 2021-04-09 00:00:49 +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
const.expected.vs internal/shader: Implement basic constants 2021-04-09 00:00:49 +09:00
const.go internal/shader: Implement basic constants 2021-04-09 00:00:49 +09:00
define2.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
define2.go shader: Check unused local variables 2020-09-13 22:36:41 +09:00
define_multiple.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
define_multiple.go shader: Check unused local variables 2020-09-13 22:36:41 +09:00
define_type.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
define_type.go shader: Add more tests 2020-06-11 23:26:32 +09:00
define.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
define.go shader: Add testdata directory 2020-06-08 11:18:27 +09:00
for2.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
for2.go shader: Add break/continue 2020-07-13 02:59:11 +09:00
for3.expected.vs shader: Bug fix: Wrong local variable indices in blocks 2020-08-10 01:09:02 +09:00
for3.go shader: Check unused local variables 2020-09-13 22:36:41 +09:00
for4.expected.vs shader: Add more tests using a for-loop 2020-08-10 01:14:42 +09:00
for4.go shader: Add more tests using a for-loop 2020-08-10 01:14:42 +09:00
for5.expected.fs shader: Bug fix: Wrong local variable index in a block in the fragment entry point 2020-08-10 02:29:49 +09:00
for5.expected.vs shader: Bug fix: Wrong local variable index in a block in an entry point 2020-08-10 02:22:09 +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 shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
for.go shader: Check unused local variables 2020-09-13 22:36:41 +09:00
func_body.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
func_body.go shader: Add testdata directory 2020-06-08 11:18:27 +09:00
func_multiple.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
func_multiple.go shader: Add testdata directory 2020-06-08 11:18:27 +09:00
func.expected.vs shader: Check the existence of 'return' 2020-09-06 22:33:27 +09:00
func.go shader: Check the existence of 'return' 2020-09-06 22:33:27 +09:00
if_else.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
if_else.go shader: Add 'if' 2020-07-05 02:33:49 +09:00
if_init.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +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 shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
if.go shader: Add 'if' 2020-07-05 02:33:49 +09:00
inc.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
inc.go shader: Implement operators ++ and -- 2020-07-12 23:07:30 +09:00
issue1236.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
issue1236.go shader: Bug fix: correct type deduction from 'mat2*vec2' 2020-07-04 20:08:01 +09:00
issue1238.expected.fs shaderir: Bug fix: Early-returns in the entry points didn't work 2020-07-05 17:57:57 +09:00
issue1238.expected.vs shaderir: Bug fix: Early-returns in the entry points didn't work 2020-07-05 17:57:57 +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 shaderir: Adopt the precision 10 for float literals 2020-08-13 00:01:16 +09:00
issue1245.expected.vs shaderir: Adopt the precision 10 for float literals 2020-08-13 00:01:16 +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 shader: Implement swapping variables 2020-08-16 18:40:45 +09:00
issue1248.go shader: Implement swapping variables 2020-08-16 18:40:45 +09:00
issue1298.expected.vs shader: Bug fix: Wrong type deduction with int(x) 2020-08-12 12:16:22 +09:00
issue1298.go shader: Bug fix: Wrong type deduction with int(x) 2020-08-12 12:16:22 +09:00
issue1299.expected.vs shader: Bug fix: Use integer literals in the integer context 2020-08-12 13:47:22 +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 internal/shaderir/glsl: Bug fix: Remove uncalled functions 2021-07-09 20:22:40 +09:00
issue1701.expected.vs internal/shaderir/glsl: Bug fix: Remove uncalled functions 2021-07-09 20:22:40 +09:00
issue1701.go internal/shaderir/glsl: Bug fix: Remove uncalled functions 2021-07-09 20:22:40 +09:00
len.expected.vs shader: Implement cap function 2020-10-17 23:36:09 +09:00
len.go shader: Implement cap function 2020-10-17 23:36:09 +09:00
number_binary.expected.vs shaderir: Adopt the precision 10 for float literals 2020-08-13 00:01:16 +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 shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
number_unary.go shader: Parse number literals in unary expressions correctly 2020-06-21 21:47:27 +09:00
number.expected.vs shader: Bug fix: Treat number literals in function calls correctly 2020-09-03 02:45:22 +09:00
number.go shader: Bug fix: Treat number literals in function calls correctly 2020-09-03 02:45:22 +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.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 shader: Add testdata directory 2020-06-08 11:18:27 +09:00
uniforms.go shader: Add testdata directory 2020-06-08 11:18:27 +09:00
var2.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
var2.go shader: Add testdata directory 2020-06-08 11:18:27 +09:00
var_multiple.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
var_multiple.go shader: Refactoring: Remove detectType 2020-06-20 17:20:44 +09:00
var.expected.vs shaderir: Bug fix: Function prototypes were required for GLSL 2020-07-28 00:04:03 +09:00
var.go shader: Add testdata directory 2020-06-08 11:18:27 +09:00
vertex_fragment.expected.fs shader: Refactoring: Remove detectType 2020-06-20 17:20:44 +09:00
vertex_fragment.expected.metal shader: Add Metal tests 2020-09-10 01:19:02 +09:00
vertex_fragment.expected.vs shader: Initialize output parameters explicitly 2020-09-12 00:35:14 +09:00
vertex_fragment.go shader: Refactoring: Remove detectType 2020-06-20 17:20:44 +09:00
vertex.expected.fs shader: Add testdata directory 2020-06-08 11:18:27 +09:00
vertex.expected.metal shader: Add Metal tests 2020-09-10 01:19:02 +09:00
vertex.expected.vs shader: Initialize output parameters explicitly 2020-09-12 00:35:14 +09:00
vertex.go shader: Add testdata directory 2020-06-08 11:18:27 +09:00