search for: b3ee18ce

Displaying 2 results from an estimated 2 matches for "b3ee18ce".

2016 Mar 14
0
[RFC mesa] nouveau: Add support for OpenCL global memory buffers
...(i->getDef(0), bld.mkImm(0)); > } > +#endif > } > break; > case OP_ATOM: > -- > 2.7.2 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160314/b3ee18ce/attachment.html>
2016 Mar 14
2
[RFC mesa] nouveau: Add support for OpenCL global memory buffers
This little "hack" fixes the use of OpenCL global memory buffers with nouveau, but clearly the #if 0 is not a solution as it breaks buffers with GLSL. The reason I'm posting this as an RFC patch is to discuss how to solve this properly, 2 solutions come to mind: 1) Use separate nv50_ir::FILE_MEMORY_xxx values for buffers versus TGSI_FILE_MEMORY with TGSI_MEMORY_TYPE_GLOBAL,