Allow software WebGL fallback using SwiftShader
Explanation
A policy that controls if SwiftShader will be used as a WebGL fallback when hardware GPU acceleration is not available.
SwiftShader has been used to support WebGL on systems without GPU acceleration such as headless systems or virtual machines but has been deprecated due to security issues. Starting in M139, WebGL context creation will fail when it would have otherwise used SwiftShader. This policy allows the browser or administrator to temporarily defer the deprecation.
Setting the policy to Enabled, SwiftShader will be used as a software WebGL fallback.
Setting the policy to Disabled or not set, WebGL context creation may fail if hardware GPU acceleration is not available. Web pages may misbehave if they do not gracefully handle WebGL context creation failure.
This is a temporary policy which will be removed in the future.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\BraveSoftware\BraveHKEY_CURRENT_USER\Software\Policies\BraveSoftware\Brave- Value name
EnableUnsafeSwiftShader
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: brave/EnableUnsafeSwiftShader
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableUnsafeSwiftShader' -Value 1 -Type DWordDisable
# Disable: brave/EnableUnsafeSwiftShader
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'EnableUnsafeSwiftShader' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": brave/EnableUnsafeSwiftShader
$k = 'HKLM:\Software\Policies\BraveSoftware\Brave'
Remove-ItemProperty -Path $k -Name 'EnableUnsafeSwiftShader' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Application
Brave (Brave Software) — November 2026 templates
Official templates downloaded on November 12, 2026.