# Why does GRHICommandList.Bypass() return false with D3D11?

**URL:** <https://forums.unrealengine.com/t/why-does-grhicommandlist-bypass-return-false-with-d3d11/484421>\
**Category:** Rendering\
**Tags:** rhi, d3d11, unreal-engine, question\
**Created:** [June 7, 2021, 4:29pm UTC](https://forums.unrealengine.com/t/why-does-grhicommandlist-bypass-return-false-with-d3d11/484421 "2021-06-07T16:29:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hcpizzi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hcpizzi](https://forums.unrealengine.com/u/hcpizzi)\
**Post date:** [June 7, 2021, 4:29pm UTC](https://forums.unrealengine.com/t/why-does-grhicommandlist-bypass-return-false-with-d3d11/484421/1 "2021-06-07T16:29:14Z")

</div>

D3D11 doesn’t have a RHI thread. Why does GRHICommandList.Bypass() return false?

I think the problem lies in this line in FRHICommandListExecutor::LatchBypass():

bool NewBypass = IsInGameThread() || (CVarRHICmdBypass.GetValueOnAnyThread() \>= 1);

I think this should read:

bool NewBypass = IsInRenderingThread() || (CVarRHICmdBypass.GetValueOnAnyThread() \>= 1);

At this point we’ve already verified that IsRunningRHIInSeparateThread() is false, so if we’re in the Render Thread we don’t need to queue any thing else.

Am I missing something?
