• Home
  • Raw
  • Download

Lines Matching refs:kElementCount

282     constexpr unsigned int kElementCount = 2;  in TEST_P()  local
288 glBufferData(GL_SHADER_STORAGE_BUFFER, kElementCount * kArrayStride, nullptr, GL_STATIC_DRAW); in TEST_P()
301 void *ptr = glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kElementCount * kArrayStride, in TEST_P()
303 for (unsigned int idx = 0; idx < kElementCount; idx++) in TEST_P()
433 constexpr unsigned int kElementCount = 2; in TEST_P() local
443 constexpr int kBufferSize = kElementCount * kArrayStride; in TEST_P()
470 for (unsigned int idx = 0; idx < kElementCount; idx++) in TEST_P()
479 for (unsigned int idx = 0; idx < kElementCount; idx++) in TEST_P()
1153 constexpr unsigned int kElementCount = 2; in TEST_P() local
1157 constexpr unsigned int kExpectedValues[kElementCount][kComponentCount] = {{1u, 2u}, {3u, 4u}}; in TEST_P()
1161 glBufferData(GL_SHADER_STORAGE_BUFFER, kElementCount * kArrayStride, kExpectedValues, in TEST_P()
1164 glBufferData(GL_SHADER_STORAGE_BUFFER, kElementCount * kArrayStride, nullptr, GL_STATIC_DRAW); in TEST_P()
1177 GL_SHADER_STORAGE_BUFFER, 0, kElementCount * kArrayStride, GL_MAP_READ_BIT)); in TEST_P()
1178 for (unsigned int idx = 0; idx < kElementCount; idx++) in TEST_P()
1412 constexpr unsigned int kElementCount = 2; in TEST_P() local
1418 glBufferData(GL_SHADER_STORAGE_BUFFER, kElementCount * kArrayStride, nullptr, GL_STATIC_DRAW); in TEST_P()
1431 void *ptr = glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, kElementCount * kArrayStride, in TEST_P()
1433 for (unsigned int idx = 0; idx < kElementCount; idx++) in TEST_P()