On 24/08/17 16:15, Kenneth Graunke wrote:
On Thursday, August 24, 2017 4:04:26 AM PDT Lionel Landwerlin wrote:
Looks good, but it looks like you could replace an additional one in
upload_push_constant_packets().
That one is a bit weird - it uses 0 on Gen8+. I've wondered about that,
actually -
On Thursday, August 24, 2017 4:04:26 AM PDT Lionel Landwerlin wrote:
> Looks good, but it looks like you could replace an additional one in
> upload_push_constant_packets().
That one is a bit weird - it uses 0 on Gen8+. I've wondered about that,
actually - the docs claim that you must use 0 - bu
Looks good, but it looks like you could replace an additional one in
upload_push_constant_packets().
Also why not name it GEN_MOCS ? (so it's a bit more consistent with
other macros defined per gen).
Thanks!
On 23/08/17 23:57, Kenneth Graunke wrote:
Instead of having a proliferation of genera
Instead of having a proliferation of generation checks and MOCS values,
we can just #define MOCS_ALL to the generation-specific value for "use
as many caches as possible" and use that in various places.
This should make it easier to change MOCS values, as there are fewer
places that need updating.