Changeset 4958 in CLRX


Ignore:
Timestamp:
Sep 11, 2019, 10:19:10 PM (2 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AmdBin?: Fixed old bug in parsing metadata.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/DisasmAmd.cpp

    r4197 r4958  
    519519                    throw ParseException(lineNo, "Can't parse value argument");
    520520                nextPtr++;
    521                 cxuint vectorSize = cstrtoui(nextPtr, lineEnd, outEnd);
     521                cxuint vectorSize = cstrtoui(ptr, lineEnd, outEnd);
    522522                arg.argType = determineKernelArgType(typeStr, vectorSize, lineNo);
    523523            }
  • CLRadeonExtender/trunk/tests/amdasm/DisasmDataTest.cpp

    r4942 r4958  
    10711071        .arg x, "float", float
    10721072        .arg xff, "SP", float
    1073         .arg x4, "float4", float
    1074         .arg aaa, "SP4", float
    1075         .arg vv, "double3", double
    1076         .arg vv3, "SP4", double
     1073        .arg x4, "float4", float4
     1074        .arg aaa, "SP4", float4
     1075        .arg vv, "double3", double3
     1076        .arg vv3, "SP4", double3
    10771077        .arg sampler, "sampler_t", sampler
    10781078        .arg structor, "TypeX", structure, 24
     
    11231123        .arg x, "float", float
    11241124        .arg xff, "SP", float
    1125         .arg x4, "float4", float
    1126         .arg aaa, "SP4", float
    1127         .arg vv, "double3", double
    1128         .arg vv3, "SP4", double
     1125        .arg x4, "float4", float4
     1126        .arg aaa, "SP4", float4
     1127        .arg vv, "double3", double3
     1128        .arg vv3, "SP4", double3
    11291129        .arg sampler, "sampler_t", sampler
    11301130        .arg structor, "TypeX", structure, 24
Note: See TracChangeset for help on using the changeset viewer.