search for: var_ref

Displaying 2 results from an estimated 2 matches for "var_ref".

2015 May 24
19
[RFC PATCH 00/11] Implement ARB_cull_distance
This patch series adds the needed support for this extension to the various parts of mesa to finally enable it for nvc0. Dave Airlie (1): glsl: lower cull_distance into cull_distance_mesa Tobias Klausmann (10): glapi: add GL_ARB_cull_distance mesa/main: add support for GL_ARB_cull_distance mesa/prog: Add varyings for arb_cull_distance mesa/st: add support for GL_ARB_cull_distance
2013 Dec 20
0
[LLVMdev] A problem about convert a string to a *i8 pointer
...); // what's the function of the three line code below? std::vector<llvm::Constant*> indices; indices.push_back(zero); indices.push_back(zero); Constant *test_var = ConstantExpr::getGetElementPtr(g_print,indices); and then I use CallInst *call = builder.CreateCall2(call_print_ptr,var_ref,test_var); to create the instruction and insert it. The method works well .But I didn't know the function of the std::vector<llvm::Constant*> indices; indices.push_back(zero); indices.push_back(zero); is that just create a arrayRef that can be the parameter of the getGetElementPtr()...