tests: Regenerate expected outputs for HLSL / FXC

The new vk-gl-cts tests have uncovered a whole bunch of FXC issues,
which have been filed as tint bugs.

Bug: tint:998
Bug: tint:1080
Bug: tint:1038
Bug: tint:1081
Bug: tint:1082
Bug: tint:1083
Change-Id: I0d14370f94647dfd9c7088e0b782c3b415c78ee7
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60211
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
This commit is contained in:
Ben Clayton
2021-07-29 18:05:19 +00:00
parent 9d4c24fa5e
commit a52324fde1
115 changed files with 913 additions and 1628 deletions

View File

@@ -1105,46 +1105,48 @@ tint_symbol_2 main(tint_symbol_1 tint_symbol) {
const tint_symbol_2 tint_symbol_24 = {tint_symbol_3.x_GLF_color_1};
return tint_symbol_24;
}
T:\tmp\ulw.0:1053:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
tint_SR61vW:1053:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((x_570 == asint(x_574))) {
~~~~~~^~~~~~~~~~~~~~~
T:\tmp\ulw.0:1053:20: note: remove extraneous parentheses around the comparison to silence this warning
tint_SR61vW:1053:20: note: remove extraneous parentheses around the comparison to silence this warning
if ((x_570 == asint(x_574))) {
~ ^ ~
T:\tmp\ulw.0:1053:20: note: use '=' to turn this equality comparison into an assignment
tint_SR61vW:1053:20: note: use '=' to turn this equality comparison into an assignment
if ((x_570 == asint(x_574))) {
^~
=
T:\tmp\ulw.0:1063:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
tint_SR61vW:1063:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((x_570 == asint(-1))) {
~~~~~~^~~~~~~~~~~~
T:\tmp\ulw.0:1063:20: note: remove extraneous parentheses around the comparison to silence this warning
tint_SR61vW:1063:20: note: remove extraneous parentheses around the comparison to silence this warning
if ((x_570 == asint(-1))) {
~ ^ ~
T:\tmp\ulw.0:1063:20: note: use '=' to turn this equality comparison into an assignment
tint_SR61vW:1063:20: note: use '=' to turn this equality comparison into an assignment
if ((x_570 == asint(-1))) {
^~
=
T:\tmp\ulw.0:1080:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
tint_SR61vW:1080:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((x_572 == asint(20))) {
~~~~~~^~~~~~~~~~~~
T:\tmp\ulw.0:1080:14: note: remove extraneous parentheses around the comparison to silence this warning
tint_SR61vW:1080:14: note: remove extraneous parentheses around the comparison to silence this warning
if ((x_572 == asint(20))) {
~ ^ ~
T:\tmp\ulw.0:1080:14: note: use '=' to turn this equality comparison into an assignment
tint_SR61vW:1080:14: note: use '=' to turn this equality comparison into an assignment
if ((x_572 == asint(20))) {
^~
=
warning: DXIL.dll not found. Resulting DXIL will not be signed for use in release environments.
error: validation errors
T:\tmp\ulw.0:1098: error: Loop must have break.
T:\tmp\ulw.0:1098: error: Loop must have break.
T:\tmp\ulw.0:1098: error: Loop must have break.
T:\tmp\ulw.0:1098: error: Loop must have break.
T:\tmp\ulw.0:1098: error: Loop must have break.
T:\tmp\ulw.0:1098: error: Loop must have break.
T:\tmp\ulw.0:1098: error: Loop must have break.
T:\tmp\ulw.0:1098: error: Loop must have break.
T:\tmp\ulw.0:1098: error: Loop must have break.
tint_SR61vW:1098: error: Loop must have break.
tint_SR61vW:1098: error: Loop must have break.
tint_SR61vW:1098: error: Loop must have break.
tint_SR61vW:1098: error: Loop must have break.
tint_SR61vW:1098: error: Loop must have break.
tint_SR61vW:1098: error: Loop must have break.
tint_SR61vW:1098: error: Loop must have break.
tint_SR61vW:1098: error: Loop must have break.
tint_SR61vW:1098: error: Loop must have break.
Validation failed.

View File

@@ -1105,46 +1105,48 @@ tint_symbol_2 main(tint_symbol_1 tint_symbol) {
const tint_symbol_2 tint_symbol_24 = {tint_symbol_3.x_GLF_color_1};
return tint_symbol_24;
}
T:\tmp\uq0.0:1053:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
tint_wDgsnM:1053:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((x_570 == asint(x_574))) {
~~~~~~^~~~~~~~~~~~~~~
T:\tmp\uq0.0:1053:20: note: remove extraneous parentheses around the comparison to silence this warning
tint_wDgsnM:1053:20: note: remove extraneous parentheses around the comparison to silence this warning
if ((x_570 == asint(x_574))) {
~ ^ ~
T:\tmp\uq0.0:1053:20: note: use '=' to turn this equality comparison into an assignment
tint_wDgsnM:1053:20: note: use '=' to turn this equality comparison into an assignment
if ((x_570 == asint(x_574))) {
^~
=
T:\tmp\uq0.0:1063:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
tint_wDgsnM:1063:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((x_570 == asint(-1))) {
~~~~~~^~~~~~~~~~~~
T:\tmp\uq0.0:1063:20: note: remove extraneous parentheses around the comparison to silence this warning
tint_wDgsnM:1063:20: note: remove extraneous parentheses around the comparison to silence this warning
if ((x_570 == asint(-1))) {
~ ^ ~
T:\tmp\uq0.0:1063:20: note: use '=' to turn this equality comparison into an assignment
tint_wDgsnM:1063:20: note: use '=' to turn this equality comparison into an assignment
if ((x_570 == asint(-1))) {
^~
=
T:\tmp\uq0.0:1080:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
tint_wDgsnM:1080:14: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((x_572 == asint(20))) {
~~~~~~^~~~~~~~~~~~
T:\tmp\uq0.0:1080:14: note: remove extraneous parentheses around the comparison to silence this warning
tint_wDgsnM:1080:14: note: remove extraneous parentheses around the comparison to silence this warning
if ((x_572 == asint(20))) {
~ ^ ~
T:\tmp\uq0.0:1080:14: note: use '=' to turn this equality comparison into an assignment
tint_wDgsnM:1080:14: note: use '=' to turn this equality comparison into an assignment
if ((x_572 == asint(20))) {
^~
=
warning: DXIL.dll not found. Resulting DXIL will not be signed for use in release environments.
error: validation errors
T:\tmp\uq0.0:1098: error: Loop must have break.
T:\tmp\uq0.0:1098: error: Loop must have break.
T:\tmp\uq0.0:1098: error: Loop must have break.
T:\tmp\uq0.0:1098: error: Loop must have break.
T:\tmp\uq0.0:1098: error: Loop must have break.
T:\tmp\uq0.0:1098: error: Loop must have break.
T:\tmp\uq0.0:1098: error: Loop must have break.
T:\tmp\uq0.0:1098: error: Loop must have break.
T:\tmp\uq0.0:1098: error: Loop must have break.
tint_wDgsnM:1098: error: Loop must have break.
tint_wDgsnM:1098: error: Loop must have break.
tint_wDgsnM:1098: error: Loop must have break.
tint_wDgsnM:1098: error: Loop must have break.
tint_wDgsnM:1098: error: Loop must have break.
tint_wDgsnM:1098: error: Loop must have break.
tint_wDgsnM:1098: error: Loop must have break.
tint_wDgsnM:1098: error: Loop must have break.
tint_wDgsnM:1098: error: Loop must have break.
Validation failed.