Lines Matching refs:ptr
2465 ivec4* ptr = reinterpret_cast<ivec4*>(
2467 if (!ptr)
2471 ptr[i * 2] = ivec4(0, 1, 2, 0);
2472 ptr[i * 2 + 1] = ivec4(0, 1, 2, 0);
2573 ivec4* ptr = reinterpret_cast<ivec4*>(
2575 if (!ptr)
2579 ptr[i * 2] = ivec4(0, 1, 2, 0);
2580 ptr[i * 2 + 1] = ivec4(0, 1, 2, 0);
2671 int* ptr = reinterpret_cast<int*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 8, GL_MAP_WRITE_BIT));
2672 if (!ptr)
2674 *ptr++ = 0;
2675 *ptr++ = 7;
2780 int* ptr = reinterpret_cast<int*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 8, GL_MAP_WRITE_BIT));
2781 if (!ptr)
2783 *ptr++ = 0;
2784 *ptr++ = 7;
6410 float* ptr = reinterpret_cast<float*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 32, GL_MAP_WRITE_BIT));
6411 if (!ptr)
6413 *ptr++ = 0.0f;
6414 *ptr++ = 1.0f;
6415 *ptr++ = 0.0f;
6416 *ptr++ = 1.0f;
6417 *ptr++ = 0.0f;
6418 *ptr++ = 0.0f;
6419 *ptr++ = 0.0f;
6420 *ptr++ = 0.0f;
6449 ptr = reinterpret_cast<float*>(
6451 if (!ptr)
6453 *ptr++ = 1.0f;
6454 *ptr++ = 0.0f;
6455 *ptr++ = 1.0f;
6456 *ptr++ = 1.0f;