cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

What's exact meaning of CAL_RESALLOC_GLOBAL_BUFFER flag?

Is it only warns about misalign when used or more actions performed when called calResAllocXXX() with CAL_RESALLOC_GLOBAL_BUFFER flag?

 

More specifically my question is: Is it safe to use resource allocated with calResCreate2D() and pinned memory as global buffer? Assuming the fact that width of resource is multiple of 4096 and memory is page aligned.

Actually I tried to do this and it works OK but may be some pitfalls exists...

0 Likes
2 Replies

up

0 Likes

It informs the driver that the resource being created should used Linear format and not Tiled.
0 Likes