mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 15:05:59 +00:00
gl: Implement basic DMA layer using AMD_pinned_memory
This commit is contained in:
parent
3e516df214
commit
7fdfbe3c52
8 changed files with 177 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ namespace gl
|
|||
void buffer::allocate(GLsizeiptr size, const void* data_, memory_type type, GLenum usage)
|
||||
{
|
||||
if (const auto& caps = get_driver_caps();
|
||||
caps.ARB_buffer_storage_supported)
|
||||
m_target != target::userptr && caps.ARB_buffer_storage_supported)
|
||||
{
|
||||
GLenum flags = 0;
|
||||
if (type == memory_type::host_visible)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue