From 161169397745fcf8939d9d0ae1390df3ea5b3e08 Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 3 Mar 2021 10:24:17 -0800 Subject: [PATCH] freedreno/ir3: Add comments about shader key/gen I had forgotton on which gens these where used on (which is important if you need to know which shader stages use these).. expand the comments a bit. Signed-off-by: Rob Clark Part-of: --- src/freedreno/ir3/ir3_shader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedreno/ir3/ir3_shader.h b/src/freedreno/ir3/ir3_shader.h index 06d8e643e07..3fbcc8d5e88 100644 --- a/src/freedreno/ir3/ir3_shader.h +++ b/src/freedreno/ir3/ir3_shader.h @@ -325,10 +325,10 @@ struct ir3_shader_key { uint32_t global; }; - /* bitmask of ms shifts */ + /* bitmask of ms shifts (a3xx) */ uint32_t vsamples, fsamples; - /* bitmask of samplers which need astc srgb workaround: */ + /* bitmask of samplers which need astc srgb workaround (a4xx+a5xx): */ uint16_t vastc_srgb, fastc_srgb; };