Lines Matching defs:index
265 BoolOp boolOpFromIndex (size_t index)
275 return ops[index % DE_LENGTH_OF_ARRAY(ops)];
3718 const size_t index = subpassNdx + attachmentIndex + compNdx;
3719 const BoolOp op = boolOpFromIndex(index);
3720 const bool boolX = x % 2 == (int)(index % 2);
3721 const bool boolY = y % 2 == (int)((index / 2) % 2);
3744 const size_t index = subpassNdx + 1;
3745 const BoolOp op = boolOpFromIndex(index);
3746 const bool boolX = x % 2 == (int)(index % 2);
3747 const bool boolY = y % 2 == (int)((index / 2) % 2);
3756 const size_t index = subpassNdx;
3757 reference[x + y * targetSize.x()].setValue(1, (index % 2) == 0);
3831 const size_t index = subpassNdx + attachmentIndex + outputValueNdx;
3832 const BoolOp op = boolOpFromIndex(index);
3833 const bool boolX = x % 2 == (int)(index % 2);
3834 const bool boolY = y % 2 == (int)((index / 2) % 2);
3862 const size_t index = subpassNdx + attachmentIndex;
3863 const BoolOp op = boolOpFromIndex(index);
3864 const bool boolX = x % 2 == (int)(index % 2);
3865 const bool boolY = y % 2 == (int)((index / 2) % 2);
3902 const size_t index = subpassNdx;
3903 reference[x + y * targetSize.x()].setValue(1, (index % 2) == 0);
4115 const int index = x + y * width;
4118 const auto maybeValue = reference[index].getValue(c);
4521 const size_t index = subpassNdx + attachmentIndex + compNdx;
4522 const BoolOp op = boolOpFromIndex(index);
4527 fragmentShader << "((int(gl_FragCoord.x) % 2 == " << (index % 2)
4529 << "int(gl_FragCoord.y) % 2 == " << ((index / 2) % 2)
4540 const size_t index = subpassNdx + 1;
4541 const BoolOp op = boolOpFromIndex(index);
4543 fragmentShader << "\tgl_FragDepth = ((int(gl_FragCoord.x) % 2 == " << (index % 2)
4545 << "int(gl_FragCoord.y) % 2 == " << ((index / 2) % 2)
4653 const size_t index = subpassNdx + attachmentIndex + outputValueNdx;
4654 const BoolOp op = boolOpFromIndex(index);
4657 << "(int(gl_FragCoord.x) % 2 == " << (index % 2)
4659 << "int(gl_FragCoord.y) % 2 == " << ((index / 2) % 2)
4689 const size_t index = subpassNdx + attachmentIndex;
4690 const BoolOp op = boolOpFromIndex(index);
4693 << "(int(gl_FragCoord.x) % 2 == " << (index % 2)
4695 << "int(gl_FragCoord.y) % 2 == " << ((index / 2) % 2)