MythTV  master
mythvideoshadersvulkan.h
Go to the documentation of this file.
1 #ifndef MYTHVIDEOSHADERSVULKAN_H
2 #define MYTHVIDEOSHADERSVULKAN_H
3 
4 // MythTV
7 
8 #define VideoVertex450 (VK_SHADER_STAGE_VERTEX_BIT | (1 << 6))
9 #define VideoFragment450 (VK_SHADER_STAGE_VERTEX_BIT | (1 << 7))
10 
13  { VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP,
14  { { 0, { 0, VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1, VK_SHADER_STAGE_VERTEX_BIT, nullptr } } },
15  { },
16  { },
17  { VK_SHADER_STAGE_VERTEX_BIT, 0, MYTH_PUSHBUFFER_SIZE } }
18  },
20  { VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP,
21  { { 1, { 0, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 1, VK_SHADER_STAGE_FRAGMENT_BIT, nullptr } } },
22  { },
23  { },
24  { } }
25  }
26 };
27 
29 {
31 {
32 "#version 450\n"
33 "#extension GL_ARB_separate_shader_objects : enable\n",
34 {
35 0x0
36 } } },
37 {
39 {
40 "#version 450\n"
41 "#extension GL_ARB_separate_shader_objects : enable\n",
42 {
43 0x0
44 } } }
45 };
46 
47 #endif
VideoVertex450
#define VideoVertex450
Definition: mythvideoshadersvulkan.h:8
k450VideoShaders
static const MythShaderMap k450VideoShaders
Definition: mythvideoshadersvulkan.h:28
mythcombobuffervulkan.h
mythshadervulkan.h
MythBindingMap
std::map< int, MythBindingDesc > MythBindingMap
Definition: mythshadervulkan.h:18
MYTH_PUSHBUFFER_SIZE
#define MYTH_PUSHBUFFER_SIZE
Definition: mythcombobuffervulkan.h:24
VideoFragment450
#define VideoFragment450
Definition: mythvideoshadersvulkan.h:9
k450VideoShaderBindings
static const MythBindingMap k450VideoShaderBindings
Definition: mythvideoshadersvulkan.h:11
MythShaderMap
std::map< int, std::pair< QString, std::vector< uint32_t > >> MythShaderMap
Definition: mythshadervulkan.h:7