Skip to content

Commit

Permalink
switch to use glslang
Browse files Browse the repository at this point in the history
Signed-off-by: Lionel Landwerlin <[email protected]>
  • Loading branch information
llandwerlin-intel authored and krh committed Oct 24, 2022
1 parent fda1d04 commit 3703a30
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ if cc.has_header('vulkan/vulkan_intel.h')
defs += '-DHAVE_VULKAN_INTEL_H'
endif

# See https://github.com/google/shaderc
prog_glslc = find_program('glslc', required : false)
prog_glslang = find_program('glslangValidator', required : false)
prog_cp = find_program('cp')

vkcube_files = files(
Expand All @@ -30,11 +29,11 @@ vkcube_files = files(
'esUtil.h'
)

if prog_glslc.found()
if prog_glslang.found()
gen = generator(
prog_glslc,
prog_glslang,
output : '@[email protected]',
arguments : [ '@INPUT@', '-mfmt=num', '-o', '@OUTPUT@' ]
arguments : [ '@INPUT@', '-V', '-x', '-o', '@OUTPUT@' ]
)
else
gen = generator(
Expand Down

0 comments on commit 3703a30

Please sign in to comment.