Migrate spirv to nnbd (flutter/engine#26765)

This commit is contained in:
Dan Field 2021-06-15 11:09:01 -07:00 committed by GitHub
parent 706f45843c
commit badba54900
7 changed files with 3 additions and 10 deletions

View File

@ -3,7 +3,6 @@
// found in the LICENSE file.
/// This library defines a transpiler for converting SPIR-V into SkSL or GLSL.
// @dart = 2.12
library spirv;
import 'dart:convert';

View File

@ -1,7 +1,6 @@
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.12
part of spirv;

View File

@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.12
part of spirv;
/// The name of the fragment-coordinate parameter when generating SkSL.

View File

@ -1,7 +1,6 @@
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.12
part of spirv;

View File

@ -6,4 +6,4 @@ name: spirv
publish_to: none
environment:
sdk: '>=2.11.0 <3.0.0'
sdk: '>=2.12.0 <3.0.0'

View File

@ -28,4 +28,3 @@ def main():
if __name__ == '__main__':
main()

View File

@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// @dart = 2.6
import 'dart:io';
import 'dart:typed_data';
import 'package:spirv/spirv.dart' as spirv;
import 'package:path/path.dart' as path;
import 'package:litetest/litetest.dart';
import 'package:path/path.dart' as path;
import 'package:spirv/spirv.dart' as spirv;
const List<spirv.TargetLanguage> targets = <spirv.TargetLanguage>[
spirv.TargetLanguage.sksl,
@ -53,4 +52,3 @@ Stream<Uint8List> exceptionShaders() async* {
yield file.readAsBytesSync();
}
}