mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-24 18:00:54 +00:00
Updated spirv-tools.
This commit is contained in:
@@ -56,13 +56,6 @@ spv_result_t ValidateLine(ValidationState_t& _, const Instruction* inst) {
|
||||
} // namespace
|
||||
|
||||
spv_result_t DebugPass(ValidationState_t& _, const Instruction* inst) {
|
||||
if (spvIsWebGPUEnv(_.context()->target_env) &&
|
||||
spvOpcodeIsDebug(inst->opcode())) {
|
||||
return _.diag(SPV_ERROR_INVALID_BINARY, inst)
|
||||
<< "Debugging instructions are not allowed in the WebGPU execution "
|
||||
<< "environment.";
|
||||
}
|
||||
|
||||
switch (inst->opcode()) {
|
||||
case SpvOpMemberName:
|
||||
if (auto error = ValidateMemberName(_, inst)) return error;
|
||||
|
||||
Reference in New Issue
Block a user