Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
This commit is contained in:
Sam Hellawell 2023-06-12 00:34:13 +01:00
parent df22b08469
commit 7e94a9f94d
2 changed files with 9 additions and 7 deletions

View File

@ -4793,13 +4793,13 @@ namespace bgfx
result &= bx::isAlphaNum(*ptr) || '_' == *ptr; result &= bx::isAlphaNum(*ptr) || '_' == *ptr;
} }
BGFX_ERROR_CHECK(false // BGFX_ERROR_CHECK(false
|| result // || result
, _err // , _err
, BGFX_ERROR_IDENTIFIER_VALIDATION // , BGFX_ERROR_IDENTIFIER_VALIDATION
, "Identifier contains invalid characters. Identifier must be the alphabet character, number, or underscore." // , "Identifier contains invalid characters. Identifier must be the alphabet character, number, or underscore."
, "" // , ""
); // );
} }
void calcTextureSize(TextureInfo& _info, uint16_t _width, uint16_t _height, uint16_t _depth, bool _cubeMap, bool _hasMips, uint16_t _numLayers, TextureFormat::Enum _format) void calcTextureSize(TextureInfo& _info, uint16_t _width, uint16_t _height, uint16_t _depth, bool _cubeMap, bool _hasMips, uint16_t _numLayers, TextureFormat::Enum _format)

View File

@ -76,6 +76,7 @@ namespace bgfx
// 4.2 420 11.0 vhdgf+c 5.0 // 4.2 420 11.0 vhdgf+c 5.0
// 4.3 430 vhdgf+c // 4.3 430 vhdgf+c
// 4.4 440 // 4.4 440
// 4.6 460
// //
// SPIR-V profile naming convention: // SPIR-V profile naming convention:
// spirv<SPIR-V version>-<Vulkan version> // spirv<SPIR-V version>-<Vulkan version>
@ -120,6 +121,7 @@ namespace bgfx
{ ShadingLang::GLSL, 420, "420" }, { ShadingLang::GLSL, 420, "420" },
{ ShadingLang::GLSL, 430, "430" }, { ShadingLang::GLSL, 430, "430" },
{ ShadingLang::GLSL, 440, "440" }, { ShadingLang::GLSL, 440, "440" },
{ ShadingLang::GLSL, 460, "460" },
}; };
static const char* s_ARB_shader_texture_lod[] = static const char* s_ARB_shader_texture_lod[] =