radeonsi: Use SI_BIG_ENDIAN now that it exists
[mesa.git] / src / gallium / drivers / radeonsi / si_pm4.c
index 5b13285027287c9b5c3cf0080f45f28e84c43191..51bf67eccb736c73fa8cce75350f70a420b904e5 100644 (file)
@@ -27,7 +27,6 @@
 #include "../radeon/r600_cs.h"
 #include "util/u_memory.h"
 #include "si_pipe.h"
-#include "si_pm4.h"
 #include "sid.h"
 
 #define NUMBER_OF_STATES (sizeof(union si_state) / sizeof(struct si_pm4_state *))
@@ -202,7 +201,7 @@ unsigned si_pm4_dirty_dw(struct si_context *sctx)
                count += state->ndw;
 #if SI_TRACE_CS
                /* for tracing each states */
-               if (sctx->screen->trace_bo) {
+               if (sctx->screen->b.trace_bo) {
                        count += SI_TRACE_CS_DWORDS;
                }
 #endif
@@ -228,7 +227,7 @@ void si_pm4_emit(struct si_context *sctx, struct si_pm4_state *state)
        cs->cdw += state->ndw;
 
 #if SI_TRACE_CS
-       if (sctx->screen->trace_bo) {
+       if (sctx->screen->b.trace_bo) {
                si_trace_emit(sctx);
        }
 #endif