[Mesa-dev] [PATCH 1/4] intel: aubinator: decode border color
Lionel Landwerlin
llandwerlin at gmail.com
Wed Oct 19 15:50:18 UTC 2016
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
src/intel/tools/aubinator.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index 31c1f89..891b595 100644
--- a/src/intel/tools/aubinator.c
+++ b/src/intel/tools/aubinator.c
@@ -266,13 +266,20 @@ dump_samplers(struct gen_spec *spec, uint32_t offset)
uint32_t i;
uint64_t start;
struct gen_group *sampler_state;
+ struct gen_group *border_color;
sampler_state = gen_spec_find_struct(spec, "SAMPLER_STATE");
+ border_color = gen_spec_find_struct(spec, "SAMPLER_BORDER_COLOR_STATE");
start = dynamic_state_base + offset;
for (i = 0; i < 4; i++) {
+ uint32_t *border_color_offset = gtt + start + i * 16 + 8;
+
printf("sampler state %d\n", i);
decode_structure(spec, sampler_state, gtt + start + i * 16);
+ printf("sampler state border color %d\n", i);
+ decode_structure(spec, border_color,
+ gtt + dynamic_state_base + *border_color_offset);
}
}
--
2.9.3
More information about the mesa-dev
mailing list