mirror of https://github.com/PCSX2/pcsx2.git
revert previous commit
Not better, worst slower. I'm afraid I will need proper fencing
This commit is contained in:
parent
8386b427ea
commit
15dcf07b3b
|
@ -44,7 +44,7 @@ namespace PboPool {
|
||||||
// XXX: actually does I really need coherent and barrier???
|
// XXX: actually does I really need coherent and barrier???
|
||||||
// As far as I understand glTexSubImage2D is a client-server transfer so no need to make
|
// As far as I understand glTexSubImage2D is a client-server transfer so no need to make
|
||||||
// the value visible to the server
|
// the value visible to the server
|
||||||
const GLbitfield map_flags = GL_MAP_WRITE_BIT | GL_MAP_PERSISTENT_BIT | GL_MAP_COHERENT_BIT;
|
const GLbitfield map_flags = GL_MAP_WRITE_BIT | GL_MAP_PERSISTENT_BIT /*| GL_MAP_COHERENT_BIT*/;
|
||||||
// FIXME do I need GL_DYNAMIC_STORAGE_BIT to allow write?
|
// FIXME do I need GL_DYNAMIC_STORAGE_BIT to allow write?
|
||||||
const GLbitfield create_flags = map_flags /*| GL_DYNAMIC_STORAGE_BIT*/ | GL_CLIENT_STORAGE_BIT;
|
const GLbitfield create_flags = map_flags /*| GL_DYNAMIC_STORAGE_BIT*/ | GL_CLIENT_STORAGE_BIT;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue