mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-12 08:05:53 +00:00
This matches the term used in the WGSL spec. Change-Id: I4603332b828450c126ef806f1064ed54f372013f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/78787 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
26 lines
484 B
GLSL
26 lines
484 B
GLSL
SKIP: FAILED
|
|
|
|
#version 310 es
|
|
precision mediump float;
|
|
|
|
void dpdy_a8b56e() {
|
|
vec2 res = ddy(vec2(0.0f, 0.0f));
|
|
}
|
|
|
|
void fragment_main() {
|
|
dpdy_a8b56e();
|
|
}
|
|
|
|
void main() {
|
|
fragment_main();
|
|
return;
|
|
}
|
|
Error parsing GLSL shader:
|
|
ERROR: 0:5: 'ddy' : no matching overloaded function found
|
|
ERROR: 0:5: '=' : cannot convert from ' const float' to ' temp mediump 2-component vector of float'
|
|
ERROR: 0:5: '' : compilation terminated
|
|
ERROR: 3 compilation errors. No code generated.
|
|
|
|
|
|
|