From 555a93057c07f045cc71c4652c54eebb990021b7 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Mon, 26 Jul 2021 11:20:04 -0700 Subject: VideoCommon: Allow BitfieldExtract in specialized shaders --- Source/Core/VideoCommon/PixelShaderGen.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/VideoCommon/PixelShaderGen.cpp') diff --git a/Source/Core/VideoCommon/PixelShaderGen.cpp b/Source/Core/VideoCommon/PixelShaderGen.cpp index a380937ae2..97adb46a97 100644 --- a/Source/Core/VideoCommon/PixelShaderGen.cpp +++ b/Source/Core/VideoCommon/PixelShaderGen.cpp @@ -565,6 +565,7 @@ ShaderCode GeneratePixelShaderCode(APIType api_type, const ShaderHostConfig& hos uid_data->genMode_numtexgens, uid_data->genMode_numindstages); // Stuff that is shared between ubershaders and pixelgen. + WriteBitfieldExtractHeader(out, api_type, host_config); WritePixelShaderCommonHeader(out, api_type, host_config, uid_data->bounding_box); if (uid_data->forced_early_z && g_ActiveConfig.backend_info.bSupportsEarlyZ) -- cgit v1.2.3