mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-10 07:05:54 +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
490 B
GLSL
26 lines
490 B
GLSL
SKIP: FAILED
|
|
|
|
#version 310 es
|
|
precision mediump float;
|
|
|
|
void dpdx_0763f7() {
|
|
vec3 res = ddx(vec3(0.0f, 0.0f, 0.0f));
|
|
}
|
|
|
|
void fragment_main() {
|
|
dpdx_0763f7();
|
|
}
|
|
|
|
void main() {
|
|
fragment_main();
|
|
return;
|
|
}
|
|
Error parsing GLSL shader:
|
|
ERROR: 0:5: 'ddx' : no matching overloaded function found
|
|
ERROR: 0:5: '=' : cannot convert from ' const float' to ' temp mediump 3-component vector of float'
|
|
ERROR: 0:5: '' : compilation terminated
|
|
ERROR: 3 compilation errors. No code generated.
|
|
|
|
|
|
|