meson: remove --depfile for aco_tests

This isn't needed right now and probably doesn't work. glsl_scraper.py
writes to the same depfile several times.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29348>
This commit is contained in:
Rhys Perry
2024-05-23 15:04:08 +01:00
committed by Marge Bot
parent 11e85c8ce0
commit ac47ee1be7
2 changed files with 0 additions and 7 deletions

View File

@@ -91,8 +91,6 @@ class Shader:
if self.target_env:
args += ['--target-env', self.target_env]
args += ['-o', out_file.name, in_file.name]
if depfile is not None:
args.extend(['--depfile', depfile])
with subprocess.Popen(args,
stdout = subprocess.PIPE,
stderr = subprocess.PIPE,
@@ -302,8 +300,6 @@ def parse_args():
default='glslangValidator',
dest='glslang',
help='Full path to the glslangValidator shader compiler.')
p.add_argument('--depfile', metavar='DEPFILE', default=None, action="store",
help="Where to have glslang write a depfile")
p.add_argument('infile', metavar='INFILE')
return p.parse_args()
@@ -313,7 +309,6 @@ args = parse_args()
infname = args.infile
outfname = args.outfile
glslang = args.glslang
depfile = args.depfile
with open_file(infname, 'r') as infile:
parser = Parser(infile)

View File

@@ -36,9 +36,7 @@ gen_spirv = generator(
arguments : [
join_paths(meson.current_source_dir(), 'glsl_scraper.py'),
'@INPUT@', '--with-glslang', prog_glslang.full_path(), '-o', '@OUTPUT@',
glslang_depfile,
],
depfile: '@BASENAME@-spriv.h.d',
)
gen_spirv_files = gen_spirv.process(spirv_files)