projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9098e0f
)
anv/pipeline: Only apply a pipeline layout if we have one
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 17 Nov 2015 06:28:52 +0000
(22:28 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Tue, 8 Dec 2015 00:56:02 +0000
(16:56 -0800)
src/vulkan/anv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_pipeline.c
b/src/vulkan/anv_pipeline.c
index 948e675d0915e780051326d8a2652d8b4f1474f9..821f5e33774781c2d854647e5e5e895ef0e618d9 100644
(file)
--- a/
src/vulkan/anv_pipeline.c
+++ b/
src/vulkan/anv_pipeline.c
@@
-338,7
+338,8
@@
anv_pipeline_compile(struct anv_pipeline *pipeline,
anv_nir_apply_dynamic_offsets(pipeline, nir, prog_data);
/* Apply the actual pipeline layout to UBOs, SSBOs, and textures */
- anv_nir_apply_pipeline_layout(nir, pipeline->layout);
+ if (pipeline->layout)
+ anv_nir_apply_pipeline_layout(nir, pipeline->layout);
/* All binding table offsets provided by apply_pipeline_layout() are
* relative to the start of the bindint table (plus MAX_RTS for VS).