فهرست منبع

Update src/video_core/engines/shader_bytecode.h

Co-Authored-By: FernandoS27 <fsahmkow27@gmail.com>
Mat M 7 سال پیش
والد
کامیت
a568cd805b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/video_core/engines/shader_bytecode.h

+ 1 - 1
src/video_core/engines/shader_bytecode.h

@@ -983,7 +983,7 @@ union Instruction {
         }
         }
 
 
         bool IsComponentEnabled(std::size_t component) const {
         bool IsComponentEnabled(std::size_t component) const {
-            return ((1ul << component) & component_mask) != 0;
+            return ((1ULL << component) & component_mask) != 0;
         }
         }
     } txq;
     } txq;