projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i965: Use {} to initialize GENX_* structs.
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_cs.c
diff --git
a/src/mesa/drivers/dri/i965/brw_cs.c
b/src/mesa/drivers/dri/i965/brw_cs.c
index eaa7381cfceba90c371e22276451f2d83ae441db..cc564a012b6d515f99012773b6f409413cbfdd6a 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_cs.c
+++ b/
src/mesa/drivers/dri/i965/brw_cs.c
@@
-104,7
+104,7
@@
brw_codegen_cs_prog(struct brw_context *brw,
if (unlikely(brw->perf_debug)) {
start_busy = (brw->batch.last_bo &&
if (unlikely(brw->perf_debug)) {
start_busy = (brw->batch.last_bo &&
-
drm_intel
_bo_busy(brw->batch.last_bo));
+
brw
_bo_busy(brw->batch.last_bo));
start_time = get_time();
}
start_time = get_time();
}
@@
-131,7
+131,7
@@
brw_codegen_cs_prog(struct brw_context *brw,
}
cp->compiled_once = true;
}
cp->compiled_once = true;
- if (start_busy && !
drm_intel
_bo_busy(brw->batch.last_bo)) {
+ if (start_busy && !
brw
_bo_busy(brw->batch.last_bo)) {
perf_debug("CS compile took %.03f ms and stalled the GPU\n",
(get_time() - start_time) * 1000);
}
perf_debug("CS compile took %.03f ms and stalled the GPU\n",
(get_time() - start_time) * 1000);
}