projects
/
platform
/
upstream
/
libva-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dc6fd2
)
Rendering/bdw: fix push constant buffer for PS
author
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 19 Dec 2013 02:31:31 +0000
(10:31 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 27 Feb 2014 02:26:17 +0000
(10:26 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_render.c
patch
|
blob
|
history
diff --git
a/src/i965_render.c
b/src/i965_render.c
index
7d95d04
..
73d39eb
100644
(file)
--- a/
src/i965_render.c
+++ b/
src/i965_render.c
@@
-3674,8
+3674,8
@@
gen8_emit_urb(VADriverContextP ctx)
OUT_BATCH(batch, GEN7_3DSTATE_PUSH_CONSTANT_ALLOC_PS | (2 - 2));
/* Size is 8Kbs and base address is 0Kb */
OUT_BATCH(batch,
- (
1
<< GEN8_PUSH_CONSTANT_BUFFER_OFFSET_SHIFT) |
- (
4
<< GEN8_PUSH_CONSTANT_BUFFER_SIZE_SHIFT));
+ (
0
<< GEN8_PUSH_CONSTANT_BUFFER_OFFSET_SHIFT) |
+ (
8
<< GEN8_PUSH_CONSTANT_BUFFER_SIZE_SHIFT));
ADVANCE_BATCH(batch);
BEGIN_BATCH(batch, 2);