mirror of
https://github.com/Yours3lf/rpi-vk-driver.git
synced 2025-02-12 09:54:20 +01:00
fixed thread switch detection
This commit is contained in:
parent
194f526c23
commit
16751c4dad
@ -59,7 +59,7 @@ VkResult vkCreateShaderModuleFromRpiAssemblyEXT(VkDevice device, VkRpiShaderModu
|
|||||||
|
|
||||||
for(uint64_t c = 0; c < numInstructions; ++c)
|
for(uint64_t c = 0; c < numInstructions; ++c)
|
||||||
{
|
{
|
||||||
if((instructions[c] & (0xf << 60)) == (2 << 60))
|
if((instructions[c] & (0xfll << 60)) == (2ll << 60))
|
||||||
{
|
{
|
||||||
shader->hasThreadSwitch = 1;
|
shader->hasThreadSwitch = 1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user