summaryrefslogtreecommitdiffstats
path: root/src/panfrost/include
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-07-31 07:20:29 -0700
committerAlyssa Rosenzweig <[email protected]>2019-07-31 10:56:11 -0700
commit194b49ee28131cea9ab5af947d0fb12873125bfc (patch)
treea18096ba58f09ce44fddc98cd7bdd413f50ad48f /src/panfrost/include
parenta692126c935d6f7e2d0ae75190b5cd99bd5ff553 (diff)
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 <[email protected]>
Diffstat (limited to 'src/panfrost/include')
-rw-r--r--src/panfrost/include/panfrost-job.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h
index 1f9fbafbe08..7766a00ca2c 100644
--- a/src/panfrost/include/panfrost-job.h
+++ b/src/panfrost/include/panfrost-job.h
@@ -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;