intel: Remove unnecessary minimum pitch alignment to 32 bytes.
This broke with the cleanup I did in convolution removal. It's unnecessary anyway since region_alloc_tiled adjusts pitches for us (64 byte alignment)
This commit is contained in:
@@ -333,12 +333,6 @@ intelTexImage(GLcontext * ctx,
|
||||
}
|
||||
else {
|
||||
texelBytes = _mesa_get_format_bytes(texImage->TexFormat);
|
||||
|
||||
/* Minimum pitch of 32 bytes */
|
||||
if (width * texelBytes < 32) {
|
||||
width = 32 / texelBytes;
|
||||
texImage->RowStride = width;
|
||||
}
|
||||
|
||||
if (!intelImage->mt) {
|
||||
assert(texImage->RowStride == width);
|
||||
|
||||
Reference in New Issue
Block a user