mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-02 12:41:36 +00:00
test: Generate HLSL expected case that now passes
Change-Id: I5b7af7ccd0461ea88274637db1372cc57fa55f01 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54653 Commit-Queue: Ben Clayton <bclayton@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
parent
c2c46a0533
commit
75500a0218
@ -1,10 +1,20 @@
|
||||
SKIP: FAILED
|
||||
static float4 gl_Position;
|
||||
|
||||
../src/writer/hlsl/generator_impl.cc:1547 internal compiler error: unhandled storage class out
|
||||
********************************************************************
|
||||
* The tint shader compiler has encountered an unexpected error. *
|
||||
* *
|
||||
* Please help us fix this issue by submitting a bug report at *
|
||||
* crbug.com/tint with the source program that triggered the bug. *
|
||||
********************************************************************
|
||||
void main_1() {
|
||||
gl_Position = float4(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
return;
|
||||
}
|
||||
|
||||
struct main_out {
|
||||
float4 gl_Position;
|
||||
};
|
||||
struct tint_symbol {
|
||||
float4 gl_Position : SV_Position;
|
||||
};
|
||||
|
||||
tint_symbol main() {
|
||||
main_1();
|
||||
const main_out tint_symbol_1 = {gl_Position};
|
||||
const tint_symbol tint_symbol_2 = {tint_symbol_1.gl_Position};
|
||||
return tint_symbol_2;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user