From 4dbb573ff0635f711341307d1bc49a052af3b41b Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Fri, 27 Jan 2023 10:49:49 -0800 Subject: [PATCH] [flutter_tools] remove usage of remap samplers arg (#119346) --- .../lib/src/build_system/targets/shader_compiler.dart | 1 - .../test/general.shard/asset_bundle_test.dart | 3 --- .../test/general.shard/build_system/targets/ios_test.dart | 1 - .../build_system/targets/shader_compiler_test.dart | 8 -------- 4 files changed, 13 deletions(-) diff --git a/packages/flutter_tools/lib/src/build_system/targets/shader_compiler.dart b/packages/flutter_tools/lib/src/build_system/targets/shader_compiler.dart index 56216a7193..5ca39654a6 100644 --- a/packages/flutter_tools/lib/src/build_system/targets/shader_compiler.dart +++ b/packages/flutter_tools/lib/src/build_system/targets/shader_compiler.dart @@ -186,7 +186,6 @@ class ShaderCompiler { '--spirv=$outputPath.spirv', '--input=${input.path}', '--input-type=frag', - '--remap-samplers', '--include=${input.parent.path}', '--include=$shaderLibPath', ]; diff --git a/packages/flutter_tools/test/general.shard/asset_bundle_test.dart b/packages/flutter_tools/test/general.shard/asset_bundle_test.dart index ee2e1489a8..5927c8a540 100644 --- a/packages/flutter_tools/test/general.shard/asset_bundle_test.dart +++ b/packages/flutter_tools/test/general.shard/asset_bundle_test.dart @@ -431,7 +431,6 @@ flutter: '--spirv=$outputPath.spirv', '--input=/$shaderPath', '--input-type=frag', - '--remap-samplers', '--include=/$assetsPath', '--include=$shaderLibDir', ], @@ -479,7 +478,6 @@ flutter: '--spirv=$outputPath.spirv', '--input=/$shaderPath', '--input-type=frag', - '--remap-samplers', '--include=/$assetsPath', '--include=$shaderLibDir', ], @@ -521,7 +519,6 @@ flutter: '--spirv=${fileSystem.path.join(output.path, 'shaders', 'ink_sparkle.frag.spirv')}', '--input=${fileSystem.path.join(materialDir.path, 'shaders', 'ink_sparkle.frag')}', '--input-type=frag', - '--remap-samplers', '--include=${fileSystem.path.join(materialDir.path, 'shaders')}', '--include=$shaderLibDir', ], diff --git a/packages/flutter_tools/test/general.shard/build_system/targets/ios_test.dart b/packages/flutter_tools/test/general.shard/build_system/targets/ios_test.dart index ce1c831959..314242fa83 100644 --- a/packages/flutter_tools/test/general.shard/build_system/targets/ios_test.dart +++ b/packages/flutter_tools/test/general.shard/build_system/targets/ios_test.dart @@ -262,7 +262,6 @@ void main() { '--spirv=/App.framework/flutter_assets/shader.glsl.spirv', '--input=/shader.glsl', '--input-type=frag', - '--remap-samplers', '--include=/', '--include=/./shader_lib', ]), diff --git a/packages/flutter_tools/test/general.shard/build_system/targets/shader_compiler_test.dart b/packages/flutter_tools/test/general.shard/build_system/targets/shader_compiler_test.dart index 7482bcd971..481a514850 100644 --- a/packages/flutter_tools/test/general.shard/build_system/targets/shader_compiler_test.dart +++ b/packages/flutter_tools/test/general.shard/build_system/targets/shader_compiler_test.dart @@ -50,7 +50,6 @@ void main() { '--spirv=$outputSpirvPath', '--input=$fragPath', '--input-type=frag', - '--remap-samplers', '--include=$fragDir', '--include=$shaderLibDir', ], @@ -91,7 +90,6 @@ void main() { '--spirv=$outputPath.spirv', '--input=$fragPath', '--input-type=frag', - '--remap-samplers', '--include=$fragDir', '--include=$shaderLibDir', ], @@ -130,7 +128,6 @@ void main() { '--spirv=$outputPath.spirv', '--input=$fragPath', '--input-type=frag', - '--remap-samplers', '--include=$fragDir', '--include=$shaderLibDir', ], @@ -169,7 +166,6 @@ void main() { '--spirv=$outputSpirvPath', '--input=$notFragPath', '--input-type=frag', - '--remap-samplers', '--include=$fragDir', '--include=$shaderLibDir', ], @@ -210,7 +206,6 @@ void main() { '--spirv=$outputSpirvPath', '--input=$notFragPath', '--input-type=frag', - '--remap-samplers', '--include=$fragDir', '--include=$shaderLibDir', ], @@ -253,7 +248,6 @@ void main() { '--spirv=/.tmp_rand0/0.8255140718871702.temp.spirv', '--input=$fragPath', '--input-type=frag', - '--remap-samplers', '--include=$fragDir', '--include=$shaderLibDir', ], @@ -299,7 +293,6 @@ void main() { '--spirv=/.tmp_rand0/0.8255140718871702.temp.spirv', '--input=$fragPath', '--input-type=frag', - '--remap-samplers', '--include=$fragDir', '--include=$shaderLibDir', ], @@ -346,7 +339,6 @@ void main() { '--spirv=/.tmp_rand0/0.8255140718871702.temp.spirv', '--input=$fragPath', '--input-type=frag', - '--remap-samplers', '--include=$fragDir', '--include=$shaderLibDir', ],