Searched refs:halfSize (Results 1 - 9 of 9) sorted by relevance

/xsrc/external/mit/mesa-demos/dist/src/perf/
H A Dteximage.c149 GLsizei halfSize = (TexSize == 1) ? 1 : TexSize / 2; local in function:UploadTexSubImage2D
150 GLsizei halfPos = TexSize - halfSize;
155 0, 0, halfSize, halfSize,
160 halfPos, 0, halfSize, halfSize,
166 0, halfPos, halfSize, halfSize,
172 halfPos, halfPos, halfSize, halfSize,
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_build_util.cpp285 BuildUtil::mkSplit(Value *h[2], uint8_t halfSize, Value *val) argument
289 const DataType fTy = typeOfSize(halfSize * 2);
292 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0);
297 h[0]->reg.size = halfSize;
298 h[1]->reg.size = halfSize;
299 h[1]->reg.data.offset += halfSize;
301 h[0] = getSSA(halfSize, val->reg.file);
302 h[1] = getSSA(halfSize, val->reg.file);
H A Dnv50_ir_lowering_nv50.cpp65 unsigned int halfSize = typeSizeof(hTy); local in function:nv50_ir::expandIntegerMUL
89 i[0] = bld->mkSplit(a, halfSize, s[0]);
90 i[1] = bld->mkSplit(b, halfSize, s[1]);
105 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8));
116 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8));
122 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8));
H A Dnv50_ir_build_util.h88 Instruction *mkSplit(Value *half[2], uint8_t halfSize, Value *);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_build_util.cpp287 BuildUtil::mkSplit(Value *h[2], uint8_t halfSize, Value *val) argument
291 const DataType fTy = typeOfSize(halfSize * 2);
294 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0);
299 h[0]->reg.size = halfSize;
300 h[1]->reg.size = halfSize;
301 h[1]->reg.data.offset += halfSize;
303 h[0] = getSSA(halfSize, val->reg.file);
304 h[1] = getSSA(halfSize, val->reg.file);
H A Dnv50_ir_build_util.h89 Instruction *mkSplit(Value *half[2], uint8_t halfSize, Value *);
H A Dnv50_ir_lowering_nv50.cpp83 unsigned int halfSize = typeSizeof(hTy); local in function:nv50_ir::expandIntegerMUL
107 i[0] = bld->mkSplit(a, halfSize, s[0]);
108 i[1] = bld->mkSplit(b, halfSize, s[1]);
123 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8));
134 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8));
140 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_setup.c1151 const float halfSize = 0.5F * size; local in function:sp_setup_point
1238 if (halfSize <= 0.5 && !round) {
1250 const int ixmin = block((int) (x - halfSize));
1251 const int ixmax = block((int) (x + halfSize));
1252 const int iymin = block((int) (y - halfSize));
1253 const int iymax = block((int) (y + halfSize));
1254 const float rmin = halfSize - 0.7071F; /* 0.7071 = sqrt(2)/2 */
1255 const float rmax = halfSize + 0.7071F;
1313 const int xmin = (int) (x + 0.75 - halfSize);
1314 const int ymin = (int) (y + 0.25 - halfSize);
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_setup.c1228 const float halfSize = 0.5F * size; local in function:sp_setup_point
1314 if (halfSize <= 0.5 && !round) {
1326 const int ixmin = block((int) (x - halfSize));
1327 const int ixmax = block((int) (x + halfSize));
1328 const int iymin = block((int) (y - halfSize));
1329 const int iymax = block((int) (y + halfSize));
1330 const float rmin = halfSize - 0.7071F; /* 0.7071 = sqrt(2)/2 */
1331 const float rmax = halfSize + 0.7071F;
1389 const int xmin = (int) (x + 0.75 - halfSize);
1390 const int ymin = (int) (y + 0.25 - halfSize);
[all...]

Completed in 15 milliseconds