projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e86eaf
)
radv: remove the radv_finishme() when compiling shaders
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 17 May 2018 07:56:48 +0000
(09:56 +0200)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Thu, 17 May 2018 11:48:24 +0000
(13:48 +0200)
Having an entrypoint different than "main" doesn't mean we
have multiple shaders per module.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_shader.c
patch
|
blob
|
history
diff --git
a/src/amd/vulkan/radv_shader.c
b/src/amd/vulkan/radv_shader.c
index 1968758a39111d98987028218725f627541155d2..7589d9c88a56d000d783e1514838eaa8e6c3ec19 100644
(file)
--- a/
src/amd/vulkan/radv_shader.c
+++ b/
src/amd/vulkan/radv_shader.c
@@
-163,10
+163,6
@@
radv_shader_compile_to_nir(struct radv_device *device,
const VkSpecializationInfo *spec_info,
const VkPipelineCreateFlags flags)
{
- if (strcmp(entrypoint_name, "main") != 0) {
- radv_finishme("Multiple shaders per module not really supported");
- }
-
nir_shader *nir;
nir_function *entry_point;
if (module->nir) {