panfrost: Flip texture/sampler fields

We had them backwards in both the command stream and the Midgard stack.
In OpenGL ES 2.0, they're always the same, but in Vulkan/later-GL/CL
they diverge so we can fix this.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-07-31 07:20:29 -07:00
parent a692126c93
commit 194b49ee28
2 changed files with 2 additions and 2 deletions

View File

@ -531,8 +531,8 @@ struct bifrost_blend_rt {
struct mali_shader_meta {
mali_ptr shader;
u16 texture_count;
u16 sampler_count;
u16 texture_count;
u16 attribute_count;
u16 varying_count;

View File

@ -652,8 +652,8 @@ __attribute__((__packed__))
unsigned bias : 8;
signed bias_int : 8;
unsigned texture_handle : 16;
unsigned sampler_handle : 16;
unsigned texture_handle : 16;
}
midgard_texture_word;