Skip to content
Permalink
Browse files

Fixed wrong unsigned int data type (for Intel)

  • Loading branch information
invor committed Feb 4, 2020
1 parent 351ea52 commit 14587b1ea81b7fc081060fb54f012716fd50b3db
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/infovis/Shaders/pc_item_draw.btf
@@ -552,8 +552,8 @@ layout(location = 0) patch out InterfaceTCO out_;
<snippet type="string">
void main(void) {
if (gl_InvocationID == 0) {
unsigned int baseItemID = gl_PrimitiveID * isoLinesPerInvocation;
unsigned int remaining = max(itemCount - baseItemID, 0);
uint baseItemID = gl_PrimitiveID * isoLinesPerInvocation;
uint remaining = max(itemCount - baseItemID, 0);
out_.baseItemID = baseItemID;
out_.generatedLines = remaining;
gl_TessLevelOuter[0] = remaining;

0 comments on commit 14587b1

Please sign in to comment.
You can’t perform that action at this time.