Re: [Mesa-dev] [PATCH] i965: Make intelEmitCopyBlit not truncate large strides.

2017-01-22 Thread Jason Ekstrand
On Sun, Jan 22, 2017 at 1:50 AM, Kenneth Graunke wrote: > When trying to blit larger tiled surfaces, the pitch can be larger than > 32768 bytes, which means it won't fit in a GLshort. Passing it in will > truncate the stride to 0, which has...surprising results. > > For Y-tiled surfaces, pitches

Re: [Mesa-dev] [PATCH] i965: Make intelEmitCopyBlit not truncate large strides.

2017-01-22 Thread Kenneth Graunke
On Sunday, January 22, 2017 9:07:53 AM PST Jason Ekstrand wrote: > I think there are places where we can drop some stride checks. We should > do that too. Thanks! > > I thought we didn't see any blits last night. How does this fix it? I'm not sure...I went home, turned off Z16, and ran ./glct

Re: [Mesa-dev] [PATCH] i965: Make intelEmitCopyBlit not truncate large strides.

2017-01-22 Thread Jason Ekstrand
I think there are places where we can drop some stride checks. We should do that too. Thanks! I thought we didn't see any blits last night. How does this fix it? On Jan 22, 2017 1:50 AM, "Kenneth Graunke" wrote: > When trying to blit larger tiled surfaces, the pitch can be larger than > 3276

[Mesa-dev] [PATCH] i965: Make intelEmitCopyBlit not truncate large strides.

2017-01-22 Thread Kenneth Graunke
When trying to blit larger tiled surfaces, the pitch can be larger than 32768 bytes, which means it won't fit in a GLshort. Passing it in will truncate the stride to 0, which has...surprising results. For Y-tiled surfaces, pitches can be up to 128KB, as we divide by 4 and program the pitch as a n