diff options
author | Axel Davy <[email protected]> | 2018-09-15 13:47:59 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2018-09-25 22:05:24 +0200 |
commit | d9da0a1f6d480ebdb4ef9635c93efbb977f7d464 (patch) | |
tree | ac693e57d98cc011b02ab48ef21cc62cace05442 /src/gallium/state_trackers/nine | |
parent | fcbb00a50216a7b106f8957b1048bbe19b97d986 (diff) |
st/nine: Add ff key hash to help debug
This is very useful to find in the log
the ff shader shource of a given call.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_ff.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/nine_ff.c b/src/gallium/state_trackers/nine/nine_ff.c index 58cc29b5e30..e5b0c3e1258 100644 --- a/src/gallium/state_trackers/nine/nine_ff.c +++ b/src/gallium/state_trackers/nine/nine_ff.c @@ -1683,6 +1683,7 @@ nine_ff_get_vs(struct NineDevice9 *device) key.tc_dim_output |= dim << (s * 3); } + DBG("VS ff key hash: %x\n", nine_ff_vs_key_hash(&key)); vs = util_hash_table_get(device->ff.ht_vs, &key); if (vs) return vs; @@ -1836,6 +1837,7 @@ nine_ff_get_ps(struct NineDevice9 *device) !(projection_matrix->_34 == 0.0f && projection_matrix->_44 == 1.0f); + DBG("PS ff key hash: %x\n", nine_ff_ps_key_hash(&key)); ps = util_hash_table_get(device->ff.ht_ps, &key); if (ps) return ps; |