• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


Commit MetaInfo

Revisión7fd04dd40dc09ffefc16aab739269c83cde04c95 (tree)
Tiempo2014-12-14 01:26:32
AutorZhao Yakui <yakui.zhao@inte...>
CommiterXiang, Haihao

Log Message

Rendering/SKL: Follow the spec to update the 3DSTATE_DS command

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>

Cambiar Resumen

Diferencia incremental

--- a/src/gen9_render.c
+++ b/src/gen9_render.c
@@ -1226,8 +1226,8 @@ gen9_emit_bypass_state(VADriverContextP ctx)
12261226 OUT_BATCH(batch, 0);
12271227 ADVANCE_BATCH(batch);
12281228
1229- BEGIN_BATCH(batch, 9);
1230- OUT_BATCH(batch, GEN7_3DSTATE_DS | (9 - 2));
1229+ BEGIN_BATCH(batch, 11);
1230+ OUT_BATCH(batch, GEN7_3DSTATE_DS | (11 - 2));
12311231 /* DW1. DS shader pointer */
12321232 OUT_BATCH(batch, 0);
12331233 OUT_BATCH(batch, 0);
@@ -1240,6 +1240,10 @@ gen9_emit_bypass_state(VADriverContextP ctx)
12401240 OUT_BATCH(batch, 0);
12411241 /* DW8. DS shader output URB */
12421242 OUT_BATCH(batch, 0);
1243+
1244+ /* Dual-patch kernel start pointer */
1245+ OUT_BATCH(batch, 0);
1246+ OUT_BATCH(batch, 0);
12431247 ADVANCE_BATCH(batch);
12441248
12451249 BEGIN_BATCH(batch, 2);