compile shaders w/ 202x
This commit is contained in:
parent
e7ade79ea5
commit
bd6722f807
@ -427,6 +427,7 @@ void M_BuildEntryPoint(WaveLaneCtx *lane)
|
|||||||
{
|
{
|
||||||
PushStringToList(perm, &cp.flags_dxc, Lit("-O3"));
|
PushStringToList(perm, &cp.flags_dxc, Lit("-O3"));
|
||||||
PushStringToList(perm, &cp.flags_dxc, Lit("-Zi -Qembed_debug"));
|
PushStringToList(perm, &cp.flags_dxc, Lit("-Zi -Qembed_debug"));
|
||||||
|
PushStringToList(perm, &cp.flags_dxc, Lit("-HV 202x")); // 202x makes numeric literals less weird
|
||||||
|
|
||||||
// Enable warnings
|
// Enable warnings
|
||||||
PushStringToList(perm, &cp.warnings_dxc, Lit("-Wall"));
|
PushStringToList(perm, &cp.warnings_dxc, Lit("-Wall"));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user