spirv_cross::CompilerGLSL::Options optionsGLSL; // Force all uninitialized variables to be 0, otherwise they will fail to compile // by FXC.
optionsGLSL.force_zero_initialized_variables = true;
spirv_cross::CompilerHLSL::Options optionsHLSL;
optionsHLSL.shader_model = 51; // PointCoord and PointSize are not supported in HLSL
optionsHLSL.point_coord_compat = true;
optionsHLSL.point_size_compat = true;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.