Update dictionary for fuzzing

Updates the dictionary that will be used by libFuzzer fuzzer targets
to reflect the latest developments in WGSL.

Bug: None
Change-Id: I9f9915f14289b15fcc04829d463e90bb96948880
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96685
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Alastair Donaldson <allydonaldson@googlemail.com>
This commit is contained in:
Alastair F. Donaldson 2022-07-20 16:04:44 +00:00 committed by Dawn LUCI CQ
parent 46c32d882d
commit ca21fa019f

View File

@ -1,63 +1,165 @@
"!"
"!="
"%"
"%="
"&" "&"
"&&" "&&"
"->" "&="
"[[" "("
"]]" ")"
"/" "*"
"!" "*="
"[" "+"
"]" "++"
"{" "+="
"}"
":"
"," ","
"-"
"--"
"-="
"->"
"."
"/"
"/="
":"
";"
"<"
"<<"
"<<="
"<="
"=" "="
"==" "=="
">" ">"
">=" ">="
"<" ">>"
"<=" ">>="
"%" "@"
"-" "["
"::" "]"
"!="
"."
"+"
"|"
"||"
"("
")"
";"
"*"
"^" "^"
"^="
"_"
"{"
"|"
"|="
"||"
"}"
"~"
"a"
"abs"
"acos"
"acosh"
"@align"
"all"
"any"
"array" "array"
"binding" "arrayLength"
"asin"
"asinh"
"atan"
"atan2"
"atanh"
"atomic"
"atomicAdd"
"atomicAnd"
"atomicLoad"
"atomicMax"
"atomicMin"
"atomicOr"
"atomicStore"
"atomicSub"
"atomicXor"
"b"
"@binding"
"bitcast" "bitcast"
"bool" "bool"
"block"
"break" "break"
"builtin" "@builtin"
"@builtin(frag_depth)"
"@builtin(front_facing)"
"@builtin(global_invocation_id)"
"@builtin(instance_index)"
"@builtin(local_invocation_id)"
"@builtin(local_invocation_index)"
"@builtin(num_workgroups)"
"@builtin(position)"
"@builtin(sample_index)"
"@builtin(sample_mask)"
"@builtin(vertex_index)"
"@builtin(workgroup_id)"
"case" "case"
"compute" "ceil"
"center"
"centroid"
"clamp"
"@compute"
"@const"
"const" "const"
"continue" "continue"
"continuing" "continuing"
"discard" "cos"
"cosh"
"countLeadingZeros"
"countOneBits"
"countTrailingZeros"
"cross"
"default" "default"
"degrees"
"determinant"
"discard"
"distance"
"dot"
"dpdx"
"dpdxCoarse"
"dpdxFine"
"dpdy"
"dpdyCoarse"
"dpdyFine"
"else" "else"
"elseif" "enable"
"exp"
"exp2"
"extractBits"
"f16"
"f32" "f32"
"faceForward"
"fallthrough" "fallthrough"
"false" "false"
"firstLeadingBit"
"firstTrailingBit"
"flat"
"floor"
"fma"
"fn" "fn"
"fragment" "for"
"fract"
"frag_depth"
"@fragment"
"frexp"
"front_facing"
"function" "function"
"fwidth"
"fwidthCoarse"
"fwidthFine"
"g"
"global_invocation_id"
"@group"
"i32" "i32"
"@id"
"if" "if"
"image" "insertBits"
"import" "instance_index"
"in" "@interpolate"
"location" "@invariant"
"inverseSqrt"
"ldexp"
"length"
"let"
"linear"
"local_invocation_id"
"local_invocation_index"
"@location"
"log"
"log2"
"loop" "loop"
"mat2x2" "mat2x2"
"mat2x3" "mat2x3"
@ -68,45 +170,124 @@
"mat4x2" "mat4x2"
"mat4x3" "mat4x3"
"mat4x4" "mat4x4"
"offset" "max"
"out" "min"
"mix"
"modf"
"normalize"
"num_workgroups"
"override"
"pack2x16float"
"pack2x16snorm"
"pack2x16unorm"
"pack4x8snorm"
"pack4x8unorm"
"perspective"
"position"
"pow"
"private" "private"
"ptr" "ptr"
"quantizeToF16"
"r"
"r32float"
"r32sint"
"r32uint"
"radians"
"read"
"read_write"
"reflect"
"refract"
"return" "return"
"reverseBits"
"rg32float"
"rg32sint"
"rg32uint"
"rgba16float"
"rgba16sint"
"rgba16uint"
"rgba32float"
"rgba32sint"
"rgba32uint"
"rgba8sint"
"rgba8snorm"
"rgba8uint"
"rgba8unorm"
"round"
"sample"
"sample_index"
"sample_mask"
"sampler" "sampler"
"sampler_comparison" "sampler_comparison"
"set" "saturate"
"select"
"sign"
"sin"
"sinh"
"@size"
"smoothstep"
"sqrt"
"staticAssert"
"step"
"storage" "storage"
"stage" "storageBarrier"
"stride"
"struct" "struct"
"switch" "switch"
"texture_depth_2d" "tan"
"texture_depth_2d_array" "tanh"
"texture_depth_cube"
"texture_depth_cube_array"
"texture_depth_multisampled_2d"
"texture_multisampled_2d"
"texture_storage_1d"
"texture_storage_2d_array"
"texture_storage_2d"
"texture_storage_2d_array"
"texture_storage_3d"
"texture_1d" "texture_1d"
"texture_2d" "texture_2d"
"texture_2d_array" "texture_2d_array"
"texture_3d" "texture_3d"
"texture_cube" "texture_cube"
"texture_cube_array" "texture_cube_array"
"texture_depth_2d"
"texture_depth_2d_array"
"texture_depth_cube"
"texture_depth_cube_array"
"texture_depth_multisampled_2d"
"textureDimensions"
"textureGather"
"textureGatherCompare"
"textureLoad"
"texture_multisampled_2d"
"textureNumLayers"
"textureNumLevels"
"textureNumSamples"
"textureSample"
"textureSampleBias"
"textureSampleCompare"
"textureSampleCompareLevel"
"textureSampleGrad"
"textureSampleLevel"
"texture_storage_1d"
"texture_storage_2d"
"texture_storage_2d_array"
"texture_storage_3d"
"textureStore"
"transpose"
"true" "true"
"trunc"
"type" "type"
"u32" "u32"
"uniform" "uniform"
"unpack2x16float"
"unpack2x16snorm"
"unpack2x16unorm"
"unpack4x8snorm"
"unpack4x8unorm"
"var" "var"
"vec2" "vec2"
"vec3" "vec3"
"vec4" "vec4"
"vertex" "@vertex"
"void" "vertex_index"
"w"
"while"
"workgroup" "workgroup"
"workgroup_size" "workgroupBarrier"
"workgroup_id"
"@workgroup_size"
"write"
"x"
"y"
"z"