Lines Matching refs:ptr
2463 ivec4* ptr = reinterpret_cast<ivec4*>(
2465 if (!ptr)
2469 ptr[i * 2] = ivec4(0, 1, 2, 0);
2470 ptr[i * 2 + 1] = ivec4(0, 1, 2, 0);
2563 ivec4* ptr = reinterpret_cast<ivec4*>(
2565 if (!ptr)
2569 ptr[i * 2] = ivec4(0, 1, 2, 0);
2570 ptr[i * 2 + 1] = ivec4(0, 1, 2, 0);
2660 int* ptr = reinterpret_cast<int*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 8, GL_MAP_WRITE_BIT));
2661 if (!ptr)
2663 *ptr++ = 0;
2664 *ptr++ = 7;
2766 int* ptr = reinterpret_cast<int*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 8, GL_MAP_WRITE_BIT));
2767 if (!ptr)
2769 *ptr++ = 0;
2770 *ptr++ = 7;
6265 float* ptr = reinterpret_cast<float*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, 32, GL_MAP_WRITE_BIT));
6266 if (!ptr)
6268 *ptr++ = 0.0f;
6269 *ptr++ = 1.0f;
6270 *ptr++ = 0.0f;
6271 *ptr++ = 1.0f;
6272 *ptr++ = 0.0f;
6273 *ptr++ = 0.0f;
6274 *ptr++ = 0.0f;
6275 *ptr++ = 0.0f;
6304 ptr = reinterpret_cast<float*>(
6306 if (!ptr)
6308 *ptr++ = 1.0f;
6309 *ptr++ = 0.0f;
6310 *ptr++ = 1.0f;
6311 *ptr++ = 1.0f;