/external/mesa3d/src/mesa/tnl/ |
t_vb_lighttmp.h | 116 GLfloat VP[3]; /* unit vector from vertex to light */ 117 GLfloat n_dot_VP; /* n dot VP */ 120 /* compute VP and attenuation */ 123 COPY_3V(VP, light->_VP_inf_norm); 129 SUB_3V(VP, light->_Position, vertex); 131 d = (GLfloat) LEN_3FV( VP ); 135 SELF_SCALE_SCALAR_3V(VP, invd); 144 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); 160 n_dot_VP = DOT3( normal, VP ); 186 /* specular term - cannibalize VP... * [all...] |
t_rasterpos.c | 133 GLfloat VP[3]; /* vector from vertex to light pos */ 139 COPY_3V(VP, light->_VP_inf_norm); 146 /* VP = vector from vertex pos to light[i].pos */ 147 SUB_3V(VP, light->_Position, vertex); 148 /* d = length(VP) */ 149 d = (GLfloat) LEN_3FV( VP ); 151 /* normalize VP */ 153 SELF_SCALE_SCALAR_3V(VP, invd); 162 GLfloat PV_dot_dir = - DOT3(VP, light->_NormSpotDirection); 177 n_dot_VP = DOT3( normal, VP ); [all...] |
/external/clang/include/clang/Sema/ |
Ownership.h | 189 void *VP = PtrTraits::getAsVoidPointer(V); 190 PtrWithInvalid = reinterpret_cast<uintptr_t>(VP); 204 void *VP = reinterpret_cast<void *>(PtrWithInvalid & ~0x01); 205 return PtrTraits::getFromVoidPointer(VP); 210 void *VP = PtrTraits::getAsVoidPointer(V); 211 PtrWithInvalid = reinterpret_cast<uintptr_t>(VP); 216 void *VP = PtrTraits::getAsVoidPointer(RHS); 217 PtrWithInvalid = reinterpret_cast<uintptr_t>(VP);
|
/external/llvm/include/llvm/IR/ |
ValueHandle.h | 288 Value *VP = ValueHandleBase::getValPtr(); 291 if (!VP) return; 296 assert(ValueHandleBase::isValid(VP) && "Tracked Value was deleted!"); 302 assert(isa<ValueTy>(VP) &&
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
ValueHandle.h | 56 Value *VP; 61 : PrevPair(0, Kind), Next(0), VP(0) {} 63 : PrevPair(0, Kind), Next(0), VP(V) { 64 if (isValid(VP)) 68 : PrevPair(0, Kind), Next(0), VP(RHS.VP) { 69 if (isValid(VP)) 73 if (isValid(VP)) 78 if (VP == RHS) return RHS; 79 if (isValid(VP)) RemoveFromUseList() [all...] |
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/ |
DwarfDebug.cpp | 819 const std::pair<unsigned, DebugLoc> &VP = VI->second; 821 LexicalScope *Scope = LScopes.findLexicalScope(VP.second); 827 DbgVariable *AbsDbgVariable = findAbstractVariable(DV, VP.second); 829 RegVar->setFrameIndex(VP.first); 833 AbsDbgVariable->setFrameIndex(VP.first); [all...] |
/external/llvm/lib/Transforms/Vectorize/ |
BBVectorize.cpp | [all...] |
/external/vulkan-validation-layers/demos/ |
cube.c | 753 mat4x4 MVP, Model, VP; 758 mat4x4_mul(VP, demo->projection_matrix, demo->view_matrix); 764 mat4x4_mul(MVP, VP, demo->model_matrix); 1741 VkPipelineViewportStateCreateInfo vp; local [all...] |
cube.cpp | [all...] |