Fixed HLSL shaders (mostly ray tracing related)
Updated HLSL compile script
This commit is contained in:
parent
cb836dd6d0
commit
66dce3c991
14 changed files with 53 additions and 28 deletions
|
|
@ -43,7 +43,7 @@ for root, dirs, files in os.walk(dir_path):
|
|||
if(hlsl_file.find('.vert') != -1):
|
||||
profile = 'vs_6_1'
|
||||
elif(hlsl_file.find('.frag') != -1):
|
||||
profile = 'ps_6_1'
|
||||
profile = 'ps_6_4'
|
||||
elif(hlsl_file.find('.comp') != -1):
|
||||
profile = 'cs_6_1'
|
||||
elif(hlsl_file.find('.geom') != -1):
|
||||
|
|
@ -71,6 +71,8 @@ for root, dirs, files in os.walk(dir_path):
|
|||
'-fspv-extension=SPV_KHR_multiview',
|
||||
'-fspv-extension=SPV_KHR_shader_draw_parameters',
|
||||
'-fspv-extension=SPV_EXT_descriptor_indexing',
|
||||
'-fspv-extension=SPV_KHR_ray_query',
|
||||
'-fspv-extension=SPV_KHR_fragment_shading_rate',
|
||||
target,
|
||||
hlsl_file,
|
||||
'-Fo', spv_out])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue