@@ -32,25 +32,6 @@ namespace codegen {
3232// /////////////////////////////////////////////////////////////////////////////
3333// /////////////////////////////////////////////////////////////////////////////
3434
35- inline const std::map<const char *, uint64_t >& EncoderFlags ()
36- {
37- static const std::map<const char *, uint64_t > flags {
38- { " uniform" , uint64_t (1 <<0 ) },
39- { points::NullCodec::name (), uint64_t (1 <<1 ) },
40- { points::TruncateCodec::name (), uint64_t (1 <<2 ) },
41- { points::FixedPointCodec<false , points::UnitRange>::name (), uint64_t (1 <<3 ) },
42- { points::FixedPointCodec<true , points::UnitRange>::name (), uint64_t (1 <<4 ) },
43- { points::FixedPointCodec<false , points::PositionRange>::name (), uint64_t (1 <<5 ) },
44- { points::FixedPointCodec<true , points::PositionRange>::name (), uint64_t (1 <<6 ) }
45- // { UnitVecCodec::name(), uint64_t(1<<7) }
46- };
47-
48- return flags;
49- }
50-
51- // /////////////////////////////////////////////////////////////////////////////
52- // /////////////////////////////////////////////////////////////////////////////
53-
5435struct PointKernelValue
5536{
5637 // The signature of the generated function
@@ -76,24 +57,6 @@ struct PointKernelValue
7657
7758struct PointKernelAttributeArray
7859{
79- enum ArgKey {
80- kCustomData = 0 ,
81- kOrigin ,
82- kValueBuffer ,
83- kActive ,
84- kPointIndex ,
85- kTransforms ,
86- kAttributeBuffers ,
87- kAttributeFlags ,
88- kAttributeSet ,
89- kGroupHandles ,
90- kLeafData
91- };
92-
93- static inline llvm::Value* getArg (llvm::Function* F, const ArgKey key) {
94- return llvm::cast<llvm::Argument>(F->arg_begin () + static_cast <int >(key));
95- }
96-
9760 // The signature of the generated function
9861 using Signature =
9962 void (const void * const ,
0 commit comments