OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97e0ff3
)
radv: add helper function to denote if tess is enabled on a pipeline.
author
Dave Airlie
<airlied@redhat.com>
Thu, 30 Mar 2017 06:44:20 +0000
(07:44 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 31 Mar 2017 21:14:59 +0000
(07:14 +1000)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_private.h
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_private.h
b/src/amd/vulkan/radv_private.h
index
e8f14dc
..
33f3524
100644
(file)
--- a/
src/amd/vulkan/radv_private.h
+++ b/
src/amd/vulkan/radv_private.h
@@
-982,6
+982,11
@@
static inline bool radv_pipeline_has_gs(struct radv_pipeline *pipeline)
return pipeline->shaders[MESA_SHADER_GEOMETRY] ? true : false;
}
+static inline bool radv_pipeline_has_tess(struct radv_pipeline *pipeline)
+{
+ return pipeline->shaders[MESA_SHADER_TESS_EVAL] ? true : false;
+}
+
struct radv_graphics_pipeline_create_info {
bool use_rectlist;
bool db_depth_clear;