Lines Matching refs:add_function
635 void add_function(const char *name, ...);
1002 add_function("__intrinsic_atomic_read",
1006 add_function("__intrinsic_atomic_increment",
1010 add_function("__intrinsic_atomic_predecrement",
1015 add_function("__intrinsic_atomic_add",
1025 add_function("__intrinsic_atomic_min",
1035 add_function("__intrinsic_atomic_max",
1045 add_function("__intrinsic_atomic_and",
1055 add_function("__intrinsic_atomic_or",
1065 add_function("__intrinsic_atomic_xor",
1075 add_function("__intrinsic_atomic_exchange",
1085 add_function("__intrinsic_atomic_comp_swap",
1098 add_function("__intrinsic_memory_barrier",
1102 add_function("__intrinsic_group_memory_barrier",
1106 add_function("__intrinsic_memory_barrier_atomic_counter",
1110 add_function("__intrinsic_memory_barrier_buffer",
1114 add_function("__intrinsic_memory_barrier_image",
1118 add_function("__intrinsic_memory_barrier_shared",
1123 add_function("__intrinsic_shader_clock",
1138 add_function(#NAME, \
1146 add_function(#NAME, \
1158 add_function(#NAME, \
1170 add_function(#NAME, \
1182 add_function(#NAME, \
1194 add_function(#NAME, \
1210 add_function(#NAME, \
1228 add_function(#NAME, \
1241 add_function(#NAME, \
1264 add_function(#NAME, \
1309 add_function("atan",
1342 add_function("mod",
1368 add_function("mix",
1413 add_function("step",
1432 add_function("smoothstep",
1456 add_function("intBitsToFloat",
1462 add_function("uintBitsToFloat",
1469 add_function("packUnorm2x16", _packUnorm2x16(shader_packing_or_es3_or_gpu_shader5), NULL);
1470 add_function("packSnorm2x16", _packSnorm2x16(shader_packing_or_es3), NULL);
1471 add_function("packUnorm4x8", _packUnorm4x8(shader_packing_or_es31_or_gpu_shader5), NULL);
1472 add_function("packSnorm4x8", _packSnorm4x8(shader_packing_or_es31_or_gpu_shader5), NULL);
1473 add_function("unpackUnorm2x16", _unpackUnorm2x16(shader_packing_or_es3_or_gpu_shader5), NULL);
1474 add_function("unpackSnorm2x16", _unpackSnorm2x16(shader_packing_or_es3), NULL);
1475 add_function("unpackUnorm4x8", _unpackUnorm4x8(shader_packing_or_es31_or_gpu_shader5), NULL);
1476 add_function("unpackSnorm4x8", _unpackSnorm4x8(shader_packing_or_es31_or_gpu_shader5), NULL);
1477 add_function("packHalf2x16", _packHalf2x16(shader_packing_or_es3), NULL);
1478 add_function("unpackHalf2x16", _unpackHalf2x16(shader_packing_or_es3), NULL);
1479 add_function("packDouble2x32", _packDouble2x32(fp64), NULL);
1480 add_function("unpackDouble2x32", _unpackDouble2x32(fp64), NULL);
1487 add_function("cross", _cross(always_available, glsl_type::vec3_type),
1491 add_function("ftransform", _ftransform(), NULL);
1496 add_function("matrixCompMult",
1516 add_function("outerProduct",
1536 add_function("determinant",
1545 add_function("inverse",
1553 add_function("transpose",
1580 add_function("any",
1586 add_function("all",
1592 add_function("not",
1598 add_function("textureSize",
1651 add_function("textureSamples",
1661 add_function("texture",
1742 add_function("textureLod",
1777 add_function("textureOffset",
1842 add_function("textureProj",
1895 add_function("texelFetch",
1933 add_function("texelFetchOffset",
1960 add_function("textureProjOffset",
2013 add_function("textureLodOffset",
2040 add_function("textureProjLod",
2063 add_function("textureProjLodOffset",
2086 add_function("textureGrad",
2129 add_function("textureGradOffset",
2163 add_function("textureProjGrad",
2195 add_function("textureProjGradOffset",
2227 add_function("EmitVertex", _EmitVertex(), NULL);
2228 add_function("EndPrimitive", _EndPrimitive(), NULL);
2229 add_function("EmitStreamVertex",
2233 add_function("EndStreamPrimitive",
2237 add_function("barrier", _barrier(), NULL);
2239 add_function("textureQueryLOD",
2276 add_function("textureQueryLod",
2313 add_function("textureQueryLevels",
2346 add_function("textureSamplesIdenticalEXT",
2356 add_function("texture1D",
2361 add_function("texture1DArray",
2366 add_function("texture1DProj",
2373 add_function("texture1DLod",
2377 add_function("texture1DArrayLod",
2381 add_function("texture1DProjLod",
2386 add_function("texture2D",
2392 add_function("texture2DArray",
2397 add_function("texture2DProj",
2406 add_function("texture2DLod",
2410 add_function("texture2DArrayLod",
2414 add_function("texture2DProjLod",
2419 add_function("texture3D",
2424 add_function("texture3DProj",
2429 add_function("texture3DLod",
2433 add_function("texture3DProjLod",
2437 add_function("textureCube",
2442 add_function("textureCubeLod",
2446 add_function("texture2DRect",
2450 add_function("texture2DRectProj",
2455 add_function("shadow1D",
2460 add_function("shadow1DArray",
2465 add_function("shadow2D",
2470 add_function("shadow2DArray",
2475 add_function("shadow1DProj",
2480 add_function("shadow2DProj",
2485 add_function("shadow1DLod",
2489 add_function("shadow2DLod",
2493 add_function("shadow1DArrayLod",
2497 add_function("shadow1DProjLod",
2501 add_function("shadow2DProjLod",
2505 add_function("shadow2DRect",
2509 add_function("shadow2DRectProj",
2513 add_function("texture1DGradARB",
2517 add_function("texture1DProjGradARB",
2522 add_function("texture2DGradARB",
2526 add_function("texture2DProjGradARB",
2531 add_function("texture3DGradARB",
2535 add_function("texture3DProjGradARB",
2539 add_function("textureCubeGradARB",
2543 add_function("shadow1DGradARB",
2547 add_function("shadow1DProjGradARB",
2551 add_function("shadow2DGradARB",
2555 add_function("shadow2DProjGradARB",
2559 add_function("texture2DRectGradARB",
2563 add_function("texture2DRectProjGradARB",
2568 add_function("shadow2DRectGradARB",
2572 add_function("shadow2DRectProjGradARB",
2576 add_function("textureGather",
2624 add_function("textureGatherOffset",
2673 add_function("textureGatherOffsets",
2725 add_function("ldexp",
2736 add_function("frexp",
2746 add_function("uaddCarry",
2752 add_function("usubBorrow",
2758 add_function("imulExtended",
2764 add_function("umulExtended",
2770 add_function("interpolateAtCentroid",
2776 add_function("interpolateAtOffset",
2782 add_function("interpolateAtSample",
2789 add_function("atomicCounter",
2793 add_function("atomicCounterIncrement",
2797 add_function("atomicCounterDecrement",
2802 add_function("atomicCounterAddARB",
2806 add_function("atomicCounterSubtractARB",
2810 add_function("atomicCounterMinARB",
2814 add_function("atomicCounterMaxARB",
2818 add_function("atomicCounterAndARB",
2822 add_function("atomicCounterOrARB",
2826 add_function("atomicCounterXorARB",
2830 add_function("atomicCounterExchangeARB",
2834 add_function("atomicCounterCompSwapARB",
2839 add_function("atomicAdd",
2847 add_function("atomicMin",
2855 add_function("atomicMax",
2863 add_function("atomicAnd",
2871 add_function("atomicOr",
2879 add_function("atomicXor",
2887 add_function("atomicExchange",
2895 add_function("atomicCompSwap",
2904 add_function("min3",
2921 add_function("max3",
2938 add_function("mid3",
2957 add_function("memoryBarrier",
2961 add_function("groupMemoryBarrier",
2965 add_function("memoryBarrierAtomicCounter",
2969 add_function("memoryBarrierBuffer",
2973 add_function("memoryBarrierImage",
2977 add_function("memoryBarrierShared",
2982 add_function("clock2x32ARB",
2987 add_function("anyInvocationARB", _vote(ir_unop_vote_any), NULL);
2988 add_function("allInvocationsARB", _vote(ir_unop_vote_all), NULL);
2989 add_function("allInvocationsEqualARB", _vote(ir_unop_vote_eq), NULL);
2999 builtin_builder::add_function(const char *name, ...)
3021 shader->symbols->add_function(f);
3079 shader->symbols->add_function(f);