Closed afd closed 7 years ago
It appears that ANGLE generated invalid HLSL code for this shader:
https://github.com/mc-imperial/shader-compiler-bugs/blob/master/angle/front-end/vector-issue/example.frag
The following internal error is given:
" Failed to link shader program. C:\fakepath(94,45): error X3000: syntax error: unexpected token ',' C:\fakepath(94,1-53): error X3013: 'dyn_index_write_vec3': no matching 0 parameter function
Warning: D3D shader compilation failed with default flags. (ps_5_0) Retrying with skip validation C:\fakepath(94,45): error X3000: syntax error: unexpected token ',' C:\fakepath(94,1-53): error X3013: 'dyn_index_write_vec3': no matching 0 parameter function
Warning: D3D shader compilation failed with skip validation flags. (ps_5_0) Retrying with skip optimization C:\fakepath(94,45): error X3000: syntax error: unexpected token ',' C:\fakepath(94,1-53): error X3013: 'dyn_index_write_vec3': no matching 0 parameter function
Warning: D3D shader compilation failed with skip optimization flags. (ps_5_0) Failed to create D3D shaders. "
Filed to ANGLE here:
https://bugs.chromium.org/p/angleproject/issues/detail?id=1921
I confirmed this is fixed in Chrome Version 59.0.3071.115 (Official Build) (64-bit)
It appears that ANGLE generated invalid HLSL code for this shader:
https://github.com/mc-imperial/shader-compiler-bugs/blob/master/angle/front-end/vector-issue/example.frag
The following internal error is given:
" Failed to link shader program. C:\fakepath(94,45): error X3000: syntax error: unexpected token ',' C:\fakepath(94,1-53): error X3013: 'dyn_index_write_vec3': no matching 0 parameter function
Warning: D3D shader compilation failed with default flags. (ps_5_0) Retrying with skip validation C:\fakepath(94,45): error X3000: syntax error: unexpected token ',' C:\fakepath(94,1-53): error X3013: 'dyn_index_write_vec3': no matching 0 parameter function
Warning: D3D shader compilation failed with skip validation flags. (ps_5_0) Retrying with skip optimization C:\fakepath(94,45): error X3000: syntax error: unexpected token ',' C:\fakepath(94,1-53): error X3013: 'dyn_index_write_vec3': no matching 0 parameter function
Warning: D3D shader compilation failed with skip optimization flags. (ps_5_0) Failed to create D3D shaders. "