ab4ab20fcf
These tests will also be used for Metal and SPIR-V testing. A small handful of GLSL-specific stragglers (#version-specific or type-precision related) will remain in /glsl/. Change-Id: I7f2b2bd92825c327922c8ce74e438d2daa440dff Bug: skia:10649 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/319408 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
14 lines
907 B
Plaintext
14 lines
907 B
Plaintext
void main() {
|
|
float2x2 a = float2x2(float3x3(1)); sk_FragColor.r = half(a[0][0]);
|
|
float2x2 b = float2x2(float4x4(1)); sk_FragColor.r = half(b[0][0]);
|
|
float3x3 c = float3x3(float4x4(1)); sk_FragColor.r = half(c[0][0]);
|
|
float3x3 d = float3x3(float2x2(1)); sk_FragColor.r = half(d[0][0]);
|
|
float3x3 e = float3x3(float2x3(1)); sk_FragColor.r = half(e[0][0]);
|
|
float3x3 f = float3x3(float3x2(1)); sk_FragColor.r = half(f[0][0]);
|
|
float4x4 g = float4x4(float3x3(float2x2(1))); sk_FragColor.r = half(g[0][0]);
|
|
float4x4 h = float4x4(float4x3(float4x2(1))); sk_FragColor.r = half(h[0][0]);
|
|
float4x4 i = float4x4(float3x4(float2x4(1))); sk_FragColor.r = half(i[0][0]);
|
|
float2x4 j = float2x4(float4x2(1)); sk_FragColor.r = half(j[0][0]);
|
|
float4x2 k = float4x2(float2x4(1)); sk_FragColor.r = half(k[0][0]);
|
|
}
|