projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd2effb
)
anv: Support MEDIA_VFE_STATE for gen7
author
Jordan Justen
<jordan.l.justen@intel.com>
Sat, 30 Jan 2016 08:31:58 +0000
(
00:31
-0800)
committer
Jordan Justen
<jordan.l.justen@intel.com>
Sat, 30 Jan 2016 17:08:34 +0000
(09:08 -0800)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/vulkan/genX_pipeline.c
patch
|
blob
|
history
diff --git
a/src/vulkan/genX_pipeline.c
b/src/vulkan/genX_pipeline.c
index 14a608b9fca6ecc538c70744e3fb9f4c19a19294..e78cfb55ef928b12944d80c4ed15d45b58260440 100644
(file)
--- a/
src/vulkan/genX_pipeline.c
+++ b/
src/vulkan/genX_pipeline.c
@@
-104,15
+104,16
@@
genX(compute_pipeline_create)(
#if ANV_GEN > 7
.ScratchSpaceBasePointerHigh = 0,
.StackSize = 0,
+#else
+ .GPGPUMode = true,
#endif
-
.MaximumNumberofThreads = device->info.max_cs_threads - 1,
- .NumberofURBEntries = 2,
+ .NumberofURBEntries =
ANV_GEN <= 7 ? 0 :
2,
.ResetGatewayTimer = true,
#if ANV_GEN == 8
.BypassGatewayControl = true,
#endif
- .URBEntryAllocationSize = 2,
+ .URBEntryAllocationSize =
ANV_GEN <= 7 ? 0 :
2,
.CURBEAllocationSize = 0);
struct brw_cs_prog_data *prog_data = &pipeline->cs_prog_data;