mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
[[unlikely]] ASSERT
and other ASSERT usage changes
This commit is contained in:
@ -70,7 +70,7 @@ static void GenerateLightShader(ShaderCode& object, const LightingUidData& uid_d
|
||||
swizzle_components, LIGHT_COL_PARAMS(index, swizzle));
|
||||
break;
|
||||
default:
|
||||
ASSERT(0);
|
||||
ASSERT(false);
|
||||
}
|
||||
|
||||
object.Write("\n");
|
||||
|
@ -1088,7 +1088,7 @@ std::string GenerateDecodingShader(TextureFormat format, std::optional<TLUTForma
|
||||
ss << "#define TEXEL_BUFFER_FORMAT_R32G32 1\n";
|
||||
break;
|
||||
case NUM_TEXEL_BUFFER_FORMATS:
|
||||
ASSERT(0);
|
||||
ASSERT(false);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user