MCPcopy Create free account
hub / github.com/RenderKit/embree / checkPadding16

Method checkPadding16

kernels/common/buffer.h:359–363  ·  view source on GitHub ↗

! checks padding to 16 byte check, fails hard */

Source from the content-addressed store, hash-verified

357
358 /*! checks padding to 16 byte check, fails hard */
359 __forceinline void checkPadding16() const
360 {
361 if (ptr_ofs && num)
362 volatile int MAYBE_UNUSED w = *((int*)getPtr(size()-1)+3); // FIXME: is failing hard avoidable?
363 }
364
365 public:
366 char* ptr_ofs; //!< base pointer plus offset

Callers 8

setBufferMethod · 0.80
setBufferMethod · 0.80
setBufferMethod · 0.80
setBufferMethod · 0.80
setBufferMethod · 0.80
setBufferMethod · 0.80
setBufferMethod · 0.80
setBufferMethod · 0.80

Calls 1

sizeFunction · 0.70

Tested by

no test coverage detected