Skip to content

Commit

Permalink
Bump up version 2018, remove print for shader model 6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
yskim1501 committed Nov 21, 2017
1 parent 8d052c8 commit 7522f06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions cmake/modules/AddLLVM.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -960,14 +960,14 @@ function(hlsl_update_product_ver RC_INTERNAL_NAME)
"RC_COMPANY_NAME=\"Microsoft(r) Corporation\""
"RC_VERSION_FIELD_1=0"
"RC_VERSION_FIELD_2=2017"
"RC_VERSION_FIELD_3=11"
"RC_VERSION_FIELD_3=12"
"RC_VERSION_FIELD_4=0"
"RC_FILE_VERSION=\"0.2017.11.0\""
"RC_FILE_VERSION=\"0.2017.12.0\""
"RC_FILE_DESCRIPTION=\"DirectX Compiler - Out Of Band\""
"RC_INTERNAL_NAME=\"${RC_INTERNAL_NAME}\""
"RC_COPYRIGHT=\"(c) Microsoft Corporation. All rights reserved.\""
"RC_PRODUCT_NAME=\"Microsoft(r) DirectX for Windows(r) - Out Of Band\""
"RC_PRODUCT_VERSION=\"0.2017.11.0\"")
"RC_PRODUCT_VERSION=\"0.2017.12.0\"")
endif (HLSL_ENABLE_FIXED_VER)
endfunction(hlsl_update_product_ver)
# HLSL Change Ends
6 changes: 3 additions & 3 deletions include/dxc/Support/HLSLOptions.td
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def no_warnings : Flag<["-", "/"], "no-warnings">, Group<hlslcomp_Group>, Flags<
HelpText<"Suppress warnings">;
def rootsig_define : Separate<["-", "/"], "rootsig-define">, Group<hlslcomp_Group>, Flags<[CoreOption]>,
HelpText<"Read root signature from a #define">;
def enable_16bit_types: Flag<["-", "/"], "enable-16bit-types">, Flags<[CoreOption, DriverOption]>, Group<hlslcomp_Group>,
def enable_16bit_types: Flag<["-", "/"], "enable-16bit-types">, Flags<[CoreOption, DriverOption, HelpHidden]>, Group<hlslcomp_Group>,
HelpText<"Enable 16bit types and disable min precision types. Available in HLSL 2018 and shader model 6.2">;
def ignore_line_directives : Flag<["-", "/"], "ignore-line-directives">, HelpText<"Ignore line directives">, Flags<[CoreOption]>, Group<hlslcomp_Group>;

Expand All @@ -252,7 +252,7 @@ def fvk_u_shift : MultiArg<["-"], "fvk-u-shift", 2>, MetaVarName<"<shift> <space
// fxc-based flags that don't match those previously defined.

def target_profile : JoinedOrSeparate<["-", "/"], "T">, Flags<[CoreOption]>, Group<hlslcomp_Group>, MetaVarName<"<profile>">,
HelpText<"Set target profile. \n\t<profile>: ps_6_0, ps_6_1, ps_6_2, vs_6_0, vs_6_1, vs_6_2, \n\t\t cs_6_0, cs_6_1, cs_6_2, gs_6_0, gs_6_1, gs_6_2, \n\t\t ds_6_0, ds_6_1, ds_6_2, hs_6_0, hs_6_1, hs_6_2, \n\t\t lib_6_0, lib_6_1, lib_6_2">;
HelpText<"Set target profile. \n\t<profile>: ps_6_0, ps_6_1, vs_6_0, vs_6_1, \n\t\t cs_6_0, cs_6_1, gs_6_0, gs_6_1, \n\t\t ds_6_0, ds_6_1, hs_6_0, hs_6_1, \n\t\t lib_6_0, lib_6_1">;
def entrypoint : JoinedOrSeparate<["-", "/"], "E">, Flags<[CoreOption]>, Group<hlslcomp_Group>,
HelpText<"Entry point name">;
// /I <include> - already defined above
Expand Down Expand Up @@ -284,7 +284,7 @@ def Gfp : Flag<["-", "/"], "Gfp">, HelpText<"Prefer flow control constructs">, F
def Ges : Flag<["-", "/"], "Ges">, HelpText<"Enable strict mode">, Flags<[CoreOption]>, Group<hlslcomp_Group>;
def Gis : Flag<["-", "/"], "Gis">, HelpText<"Force IEEE strictness">, Flags<[CoreOption]>, Group<hlslcomp_Group>;

def denorm : JoinedOrSeparate<["-", "/"], "denorm">, HelpText<"select denormal value options (any, preserve, ftz). any is the default.">, Flags<[CoreOption]>, Group<hlslcomp_Group>;
def denorm : JoinedOrSeparate<["-", "/"], "denorm">, HelpText<"select denormal value options (any, preserve, ftz). any is the default.">, Flags<[CoreOption, HelpHidden]>, Group<hlslcomp_Group>;

def Fo : JoinedOrSeparate<["-", "/"], "Fo">, MetaVarName<"<file>">, HelpText<"Output object file">, Flags<[DriverOption]>, Group<hlslcomp_Group>;
// def Fl : JoinedOrSeparate<["-", "/"], "Fl">, MetaVarName<"<file>">, HelpText<"Output a library">;
Expand Down
2 changes: 1 addition & 1 deletion tools/clang/lib/Basic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ set(get_svn_script "${LLVM_MAIN_SRC_DIR}/cmake/modules/GetSVN.cmake")

# HLSL Change Starts
if (HLSL_ENABLE_FIXED_VER)
add_definitions(/DHLSL_FIXED_VER="dxcoob 2017.11")
add_definitions(/DHLSL_FIXED_VER="dxcoob 2017.12")
endif (HLSL_ENABLE_FIXED_VER)
# HLSL Change Ends

Expand Down

0 comments on commit 7522f06

Please sign in to comment.