• Home
  • Raw
  • Download

Lines Matching refs:add_function

936    void add_function(const char *name, ...);
1355 add_function("__intrinsic_atomic_read", in create_intrinsics()
1359 add_function("__intrinsic_atomic_increment", in create_intrinsics()
1363 add_function("__intrinsic_atomic_predecrement", in create_intrinsics()
1368 add_function("__intrinsic_atomic_add", in create_intrinsics()
1384 add_function("__intrinsic_atomic_min", in create_intrinsics()
1403 add_function("__intrinsic_atomic_max", in create_intrinsics()
1422 add_function("__intrinsic_atomic_and", in create_intrinsics()
1438 add_function("__intrinsic_atomic_or", in create_intrinsics()
1454 add_function("__intrinsic_atomic_xor", in create_intrinsics()
1470 add_function("__intrinsic_atomic_exchange", in create_intrinsics()
1486 add_function("__intrinsic_atomic_comp_swap", in create_intrinsics()
1505 add_function("__intrinsic_memory_barrier", in create_intrinsics()
1509 add_function("__intrinsic_group_memory_barrier", in create_intrinsics()
1513 add_function("__intrinsic_memory_barrier_atomic_counter", in create_intrinsics()
1517 add_function("__intrinsic_memory_barrier_buffer", in create_intrinsics()
1521 add_function("__intrinsic_memory_barrier_image", in create_intrinsics()
1525 add_function("__intrinsic_memory_barrier_shared", in create_intrinsics()
1530 add_function("__intrinsic_begin_invocation_interlock", in create_intrinsics()
1535 add_function("__intrinsic_end_invocation_interlock", in create_intrinsics()
1540 add_function("__intrinsic_shader_clock", in create_intrinsics()
1545 add_function("__intrinsic_vote_all", in create_intrinsics()
1548 add_function("__intrinsic_vote_any", in create_intrinsics()
1551 add_function("__intrinsic_vote_eq", in create_intrinsics()
1555 add_function("__intrinsic_ballot", _ballot_intrinsic(), NULL); in create_intrinsics()
1557 add_function("__intrinsic_read_invocation", in create_intrinsics()
1574 add_function("__intrinsic_read_first_invocation", in create_intrinsics()
1591 add_function("__intrinsic_helper_invocation", in create_intrinsics()
1604 add_function(#NAME, \ in create_builtins()
1612 add_function(#NAME, \ in create_builtins()
1624 add_function(#NAME, \ in create_builtins()
1636 add_function(#NAME, \ in create_builtins()
1648 add_function(#NAME, \ in create_builtins()
1660 add_function(#NAME, \ in create_builtins()
1672 add_function(#NAME, \ in create_builtins()
1692 add_function(#NAME, \ in create_builtins()
1718 add_function(#NAME, \ in create_builtins()
1731 add_function(#NAME, \ in create_builtins()
1762 add_function(#NAME, \ in create_builtins()
1822 add_function("atan", in create_builtins()
1863 add_function("truncate", in create_builtins()
1871 add_function("mod", in create_builtins()
1897 add_function("mix", in create_builtins()
1952 add_function("step", in create_builtins()
1971 add_function("smoothstep", in create_builtins()
1995 add_function("intBitsToFloat", in create_builtins()
2001 add_function("uintBitsToFloat", in create_builtins()
2008 add_function("doubleBitsToInt64", in create_builtins()
2015 add_function("doubleBitsToUint64", in create_builtins()
2022 add_function("int64BitsToDouble", in create_builtins()
2029 add_function("uint64BitsToDouble", in create_builtins()
2036 add_function("packUnorm2x16", _packUnorm2x16(shader_packing_or_es3_or_gpu_shader5), NULL); in create_builtins()
2037 add_function("packSnorm2x16", _packSnorm2x16(shader_packing_or_es3), NULL); in create_builtins()
2038 add_function("packUnorm4x8", _packUnorm4x8(shader_packing_or_es31_or_gpu_shader5), NULL); in create_builtins()
2039 add_function("packSnorm4x8", _packSnorm4x8(shader_packing_or_es31_or_gpu_shader5), NULL); in create_builtins()
2040 add_function("unpackUnorm2x16", _unpackUnorm2x16(shader_packing_or_es3_or_gpu_shader5), NULL); in create_builtins()
2041 add_function("unpackSnorm2x16", _unpackSnorm2x16(shader_packing_or_es3), NULL); in create_builtins()
2042 add_function("unpackUnorm4x8", _unpackUnorm4x8(shader_packing_or_es31_or_gpu_shader5), NULL); in create_builtins()
2043 add_function("unpackSnorm4x8", _unpackSnorm4x8(shader_packing_or_es31_or_gpu_shader5), NULL); in create_builtins()
2044 add_function("packHalf2x16", _packHalf2x16(shader_packing_or_es3), NULL); in create_builtins()
2045 add_function("unpackHalf2x16", _unpackHalf2x16(shader_packing_or_es3), NULL); in create_builtins()
2046 add_function("packDouble2x32", _packDouble2x32(fp64), NULL); in create_builtins()
2047 add_function("unpackDouble2x32", _unpackDouble2x32(fp64), NULL); in create_builtins()
2049 add_function("packInt2x32", _packInt2x32(int64), NULL); in create_builtins()
2050 add_function("unpackInt2x32", _unpackInt2x32(int64), NULL); in create_builtins()
2051 add_function("packUint2x32", _packUint2x32(int64), NULL); in create_builtins()
2052 add_function("unpackUint2x32", _unpackUint2x32(int64), NULL); in create_builtins()
2058 add_function("cross", _cross(always_available, glsl_type::vec3_type), in create_builtins()
2062 add_function("ftransform", _ftransform(), NULL); in create_builtins()
2067 add_function("matrixCompMult", in create_builtins()
2087 add_function("outerProduct", in create_builtins()
2107 add_function("determinant", in create_builtins()
2116 add_function("inverse", in create_builtins()
2124 add_function("transpose", in create_builtins()
2151 add_function("any", in create_builtins()
2157 add_function("all", in create_builtins()
2163 add_function("not", in create_builtins()
2169 add_function("textureSize", in create_builtins()
2224 add_function("textureSize1D", in create_builtins()
2230 add_function("textureSize2D", in create_builtins()
2236 add_function("textureSize3D", in create_builtins()
2242 add_function("textureSizeCube", in create_builtins()
2248 add_function("textureSize1DArray", in create_builtins()
2254 add_function("textureSize2DArray", in create_builtins()
2260 add_function("textureSize2DRect", in create_builtins()
2266 add_function("textureSizeBuffer", in create_builtins()
2272 add_function("textureSamples", in create_builtins()
2282 add_function("texture", in create_builtins()
2370 add_function("textureLod", in create_builtins()
2408 add_function("textureOffset", in create_builtins()
2475 add_function("texture1DOffset", in create_builtins()
2484 add_function("texture2DOffset", in create_builtins()
2493 add_function("texture3DOffset", in create_builtins()
2502 add_function("texture2DRectOffset", in create_builtins()
2508 add_function("shadow2DRectOffset", in create_builtins()
2512 add_function("shadow1DOffset", in create_builtins()
2517 add_function("shadow2DOffset", in create_builtins()
2522 add_function("texture1DArrayOffset", in create_builtins()
2531 add_function("texture2DArrayOffset", in create_builtins()
2540 add_function("shadow1DArrayOffset", in create_builtins()
2545 add_function("shadow2DArrayOffset", in create_builtins()
2549 add_function("textureProj", in create_builtins()
2605 add_function("texelFetch", in create_builtins()
2646 add_function("texelFetch1D", in create_builtins()
2652 add_function("texelFetch2D", in create_builtins()
2658 add_function("texelFetch3D", in create_builtins()
2664 add_function("texelFetch2DRect", in create_builtins()
2670 add_function("texelFetch1DArray", in create_builtins()
2676 add_function("texelFetch2DArray", in create_builtins()
2682 add_function("texelFetchBuffer", in create_builtins()
2688 add_function("texelFetchOffset", in create_builtins()
2715 add_function("texelFetch1DOffset", in create_builtins()
2721 add_function("texelFetch2DOffset", in create_builtins()
2727 add_function("texelFetch3DOffset", in create_builtins()
2733 add_function("texelFetch2DRectOffset", in create_builtins()
2739 add_function("texelFetch1DArrayOffset", in create_builtins()
2745 add_function("texelFetch2DArrayOffset", in create_builtins()
2751 add_function("textureProjOffset", in create_builtins()
2804 add_function("texture1DProjOffset", in create_builtins()
2819 add_function("texture2DProjOffset", in create_builtins()
2834 add_function("texture3DProjOffset", in create_builtins()
2843 add_function("shadow1DProjOffset", in create_builtins()
2848 add_function("shadow2DProjOffset", in create_builtins()
2853 add_function("texture2DRectProjOffset", in create_builtins()
2862 add_function("shadow2DRectProjOffset", in create_builtins()
2866 add_function("textureLodOffset", in create_builtins()
2894 add_function("texture1DLodOffset", in create_builtins()
2900 add_function("texture2DLodOffset", in create_builtins()
2906 add_function("texture3DLodOffset", in create_builtins()
2912 add_function("shadow1DLodOffset", in create_builtins()
2916 add_function("shadow2DLodOffset", in create_builtins()
2920 add_function("texture1DArrayLodOffset", in create_builtins()
2926 add_function("texture2DArrayLodOffset", in create_builtins()
2932 add_function("shadow1DArrayLodOffset", in create_builtins()
2936 add_function("textureProjLod", in create_builtins()
2959 add_function("textureProjLodOffset", in create_builtins()
2982 add_function("texture1DProjLodOffset", in create_builtins()
2991 add_function("texture2DProjLodOffset", in create_builtins()
3000 add_function("texture3DProjLodOffset", in create_builtins()
3006 add_function("shadow1DProjLodOffset", in create_builtins()
3010 add_function("shadow2DProjLodOffset", in create_builtins()
3014 add_function("textureGrad", in create_builtins()
3057 add_function("textureGradOffset", in create_builtins()
3091 add_function("texture1DGradOffset", in create_builtins()
3097 add_function("texture2DGradOffset", in create_builtins()
3103 add_function("texture3DGradOffset", in create_builtins()
3109 add_function("texture2DRectGradOffset", in create_builtins()
3115 add_function("shadow2DRectGradOffset", in create_builtins()
3119 add_function("shadow1DGradOffset", in create_builtins()
3123 add_function("shadow2DGradOffset", in create_builtins()
3127 add_function("texture1DArrayGradOffset", in create_builtins()
3133 add_function("texture2DArrayGradOffset", in create_builtins()
3139 add_function("shadow1DArrayGradOffset", in create_builtins()
3143 add_function("shadow2DArrayGradOffset", in create_builtins()
3147 add_function("textureProjGrad", in create_builtins()
3179 add_function("textureProjGradOffset", in create_builtins()
3211 add_function("texture1DProjGradOffset", in create_builtins()
3220 add_function("texture2DProjGradOffset", in create_builtins()
3229 add_function("texture3DProjGradOffset", in create_builtins()
3235 add_function("texture2DRectProjGradOffset", in create_builtins()
3244 add_function("shadow2DRectProjGradOffset", in create_builtins()
3248 add_function("shadow1DProjGradOffset", in create_builtins()
3252 add_function("shadow2DProjGradOffset", in create_builtins()
3256 add_function("EmitVertex", _EmitVertex(), NULL); in create_builtins()
3257 add_function("EndPrimitive", _EndPrimitive(), NULL); in create_builtins()
3258 add_function("EmitStreamVertex", in create_builtins()
3262 add_function("EndStreamPrimitive", in create_builtins()
3266 add_function("barrier", _barrier(), NULL); in create_builtins()
3268 add_function("textureQueryLOD", in create_builtins()
3305 add_function("textureQueryLod", in create_builtins()
3342 add_function("textureQueryLevels", in create_builtins()
3375 add_function("textureSamplesIdenticalEXT", in create_builtins()
3385 add_function("texture1D", in create_builtins()
3394 add_function("texture1DArray", in create_builtins()
3403 add_function("texture1DProj", in create_builtins()
3418 add_function("texture1DLod", in create_builtins()
3424 add_function("texture1DArrayLod", in create_builtins()
3430 add_function("texture1DProjLod", in create_builtins()
3439 add_function("texture2D", in create_builtins()
3449 add_function("texture2DArray", in create_builtins()
3458 add_function("texture2DProj", in create_builtins()
3475 add_function("texture2DLod", in create_builtins()
3481 add_function("texture2DArrayLod", in create_builtins()
3487 add_function("texture2DProjLod", in create_builtins()
3496 add_function("texture3D", in create_builtins()
3505 add_function("texture3DProj", in create_builtins()
3514 add_function("texture3DLod", in create_builtins()
3520 add_function("texture3DProjLod", in create_builtins()
3526 add_function("textureCube", in create_builtins()
3535 add_function("textureCubeLod", in create_builtins()
3541 add_function("texture2DRect", in create_builtins()
3547 add_function("texture2DRectProj", in create_builtins()
3556 add_function("shadow1D", in create_builtins()
3561 add_function("shadow1DArray", in create_builtins()
3566 add_function("shadow2D", in create_builtins()
3571 add_function("shadow2DArray", in create_builtins()
3576 add_function("shadow1DProj", in create_builtins()
3581 add_function("shadow2DArray", in create_builtins()
3586 add_function("shadowCube", in create_builtins()
3591 add_function("shadow2DProj", in create_builtins()
3596 add_function("shadow1DLod", in create_builtins()
3600 add_function("shadow2DLod", in create_builtins()
3604 add_function("shadow1DArrayLod", in create_builtins()
3608 add_function("shadow1DProjLod", in create_builtins()
3612 add_function("shadow2DProjLod", in create_builtins()
3616 add_function("shadow2DRect", in create_builtins()
3620 add_function("shadow2DRectProj", in create_builtins()
3624 add_function("texture1DGradARB", in create_builtins()
3628 add_function("texture1DProjGradARB", in create_builtins()
3633 add_function("texture2DGradARB", in create_builtins()
3637 add_function("texture2DProjGradARB", in create_builtins()
3642 add_function("texture3DGradARB", in create_builtins()
3646 add_function("texture3DProjGradARB", in create_builtins()
3650 add_function("textureCubeGradARB", in create_builtins()
3654 add_function("shadow1DGradARB", in create_builtins()
3658 add_function("shadow1DProjGradARB", in create_builtins()
3662 add_function("shadow2DGradARB", in create_builtins()
3666 add_function("shadow2DProjGradARB", in create_builtins()
3670 add_function("texture2DRectGradARB", in create_builtins()
3674 add_function("texture2DRectProjGradARB", in create_builtins()
3679 add_function("shadow2DRectGradARB", in create_builtins()
3683 add_function("shadow2DRectProjGradARB", in create_builtins()
3687 add_function("texture4", in create_builtins()
3691 add_function("texture1DGrad", in create_builtins()
3697 add_function("texture1DProjGrad", in create_builtins()
3706 add_function("texture1DArrayGrad", in create_builtins()
3712 add_function("texture2DGrad", in create_builtins()
3718 add_function("texture2DProjGrad", in create_builtins()
3727 add_function("texture2DArrayGrad", in create_builtins()
3733 add_function("texture3DGrad", in create_builtins()
3739 add_function("texture3DProjGrad", in create_builtins()
3745 add_function("textureCubeGrad", in create_builtins()
3751 add_function("shadow1DGrad", in create_builtins()
3755 add_function("shadow1DProjGrad", in create_builtins()
3759 add_function("shadow1DArrayGrad", in create_builtins()
3763 add_function("shadow2DGrad", in create_builtins()
3767 add_function("shadow2DProjGrad", in create_builtins()
3771 add_function("shadow2DArrayGrad", in create_builtins()
3775 add_function("texture2DRectGrad", in create_builtins()
3781 add_function("texture2DRectProjGrad", in create_builtins()
3790 add_function("shadow2DRectGrad", in create_builtins()
3794 add_function("shadow2DRectProjGrad", in create_builtins()
3798 add_function("shadowCubeGrad", in create_builtins()
3802 add_function("textureGather", in create_builtins()
3850 add_function("textureGatherOffset", in create_builtins()
3899 add_function("textureGatherOffsets", in create_builtins()
3951 add_function("ldexp", in create_builtins()
3962 add_function("frexp", in create_builtins()
3972 add_function("uaddCarry", in create_builtins()
3978 add_function("usubBorrow", in create_builtins()
3984 add_function("imulExtended", in create_builtins()
3990 add_function("umulExtended", in create_builtins()
3996 add_function("interpolateAtCentroid", in create_builtins()
4002 add_function("interpolateAtOffset", in create_builtins()
4008 add_function("interpolateAtSample", in create_builtins()
4015 add_function("atomicCounter", in create_builtins()
4019 add_function("atomicCounterIncrement", in create_builtins()
4023 add_function("atomicCounterDecrement", in create_builtins()
4028 add_function("atomicCounterAddARB", in create_builtins()
4032 add_function("atomicCounterSubtractARB", in create_builtins()
4036 add_function("atomicCounterMinARB", in create_builtins()
4040 add_function("atomicCounterMaxARB", in create_builtins()
4044 add_function("atomicCounterAndARB", in create_builtins()
4048 add_function("atomicCounterOrARB", in create_builtins()
4052 add_function("atomicCounterXorARB", in create_builtins()
4056 add_function("atomicCounterExchangeARB", in create_builtins()
4060 add_function("atomicCounterCompSwapARB", in create_builtins()
4065 add_function("atomicCounterAdd", in create_builtins()
4069 add_function("atomicCounterSubtract", in create_builtins()
4073 add_function("atomicCounterMin", in create_builtins()
4077 add_function("atomicCounterMax", in create_builtins()
4081 add_function("atomicCounterAnd", in create_builtins()
4085 add_function("atomicCounterOr", in create_builtins()
4089 add_function("atomicCounterXor", in create_builtins()
4093 add_function("atomicCounterExchange", in create_builtins()
4097 add_function("atomicCounterCompSwap", in create_builtins()
4102 add_function("atomicAdd", in create_builtins()
4116 add_function("atomicMin", in create_builtins()
4133 add_function("atomicMax", in create_builtins()
4150 add_function("atomicAnd", in create_builtins()
4164 add_function("atomicOr", in create_builtins()
4178 add_function("atomicXor", in create_builtins()
4192 add_function("atomicExchange", in create_builtins()
4206 add_function("atomicCompSwap", in create_builtins()
4221 add_function("min3", in create_builtins()
4238 add_function("max3", in create_builtins()
4255 add_function("mid3", in create_builtins()
4274 add_function("memoryBarrier", in create_builtins()
4278 add_function("groupMemoryBarrier", in create_builtins()
4282 add_function("memoryBarrierAtomicCounter", in create_builtins()
4286 add_function("memoryBarrierBuffer", in create_builtins()
4290 add_function("memoryBarrierImage", in create_builtins()
4294 add_function("memoryBarrierShared", in create_builtins()
4299 add_function("ballotARB", _ballot(), NULL); in create_builtins()
4301 add_function("readInvocationARB", in create_builtins()
4318 add_function("readFirstInvocationARB", in create_builtins()
4335 add_function("clock2x32ARB", in create_builtins()
4340 add_function("clockARB", in create_builtins()
4345 add_function("beginInvocationInterlockARB", in create_builtins()
4351 add_function("endInvocationInterlockARB", in create_builtins()
4357 add_function("beginInvocationInterlockNV", in create_builtins()
4363 add_function("endInvocationInterlockNV", in create_builtins()
4369 add_function("anyInvocationARB", in create_builtins()
4373 add_function("allInvocationsARB", in create_builtins()
4377 add_function("allInvocationsEqualARB", in create_builtins()
4381 add_function("anyInvocationEXT", in create_builtins()
4385 add_function("allInvocationsEXT", in create_builtins()
4389 add_function("allInvocationsEqualEXT", in create_builtins()
4393 add_function("anyInvocation", in create_builtins()
4397 add_function("allInvocations", in create_builtins()
4401 add_function("allInvocationsEqual", in create_builtins()
4405 add_function("helperInvocationEXT", _helper_invocation(), NULL); in create_builtins()
4407 add_function("__builtin_idiv64", in create_builtins()
4411 add_function("__builtin_imod64", in create_builtins()
4415 add_function("__builtin_sign64", in create_builtins()
4419 add_function("__builtin_udiv64", in create_builtins()
4423 add_function("__builtin_umod64", in create_builtins()
4427 add_function("__builtin_umul64", in create_builtins()
4431 add_function("countLeadingZeros", in create_builtins()
4442 add_function("countTrailingZeros", in create_builtins()
4453 add_function("absoluteDifference", in create_builtins()
4489 add_function("addSaturate", in create_builtins()
4525 add_function("average", in create_builtins()
4561 add_function("averageRounded", in create_builtins()
4597 add_function("subtractSaturate", in create_builtins()
4633 add_function("multiply32x16", in create_builtins()
4660 builtin_builder::add_function(const char *name, ...) in add_function() function in builtin_builder
4682 shader->symbols->add_function(f); in add_function()
4741 shader->symbols->add_function(f); in add_image_function()