| /device/generic/vulkan-cereal/third-party/angle/src/tests/compiler_tests/ |
| D | GeometryShader_test.cpp | 59 sstream << "layout ("; in GetGeometryShaderLayout() 98 const std::string kInputLayout = "layout (points) in;\n"; 99 const std::string kOutputLayout = "layout (points, max_vertices = 1) out;\n"; 179 layout(points) in; in TEST_F() 180 layout(points, max_vertices = 1) out; in TEST_F() 198 layout(points, max_vertices = 1) out; in TEST_F() 259 // Geometry Shaders don't allow declaring different input primitives in one layout. 265 layout (points, triangles) in; in TEST_F() 266 layout (points, max_vertices = 1) out; in TEST_F() 283 layout (points, invocations = 0) in; in TEST_F() [all …]
|
| D | AtomicCounter_test.cpp | 33 // Test that layout qualifiers described in ESSL 3.10 section 4.4.6 can be successfully compiled, 40 "layout(binding = 2, offset = 4) uniform atomic_uint a;\n" in TEST_F() 41 "layout(binding = 2) uniform atomic_uint b;\n" in TEST_F() 42 "layout(binding = 2, offset = 12) uniform atomic_uint c, d;\n" in TEST_F() 43 "layout(binding = 1, offset = 4) uniform atomic_uint e;\n" in TEST_F() 80 "layout(binding = 2, offset = 4) uniform atomic_uint a;\n" in TEST_F() 95 "layout(binding = 2, offset = 4) in atomic_uint a;\n" in TEST_F() 125 "layout(binding = 2, offset = 4) uniform atomic_uint a;\n" in TEST_F() 126 "layout(binding = 2, offset = 6) uniform atomic_uint b;\n" in TEST_F() 141 "layout(binding = 2, offset = 4) uniform atomic_uint a, b;\n" in TEST_F() [all …]
|
| D | EXT_YUV_target_test.cpp | 30 "layout(yuv) out vec4 fragColor;\n" 35 // Shader that specifies yuv layout qualifier multiple times. 38 "layout(yuv, yuv, yuv) out vec4 fragColor;\n" 42 // Shader that specifies yuv layout qualifier for not output fails to compile. 45 "layout(yuv) in vec4 fragColor;\n" 51 "layout(yuv) uniform;\n" 52 "layout(yuv) uniform Transform {\n" 58 // Shader that specifies yuv layout qualifier with location fails to compile. 61 "layout(location = 0, yuv) out vec4 fragColor;\n" 65 // Shader that specifies yuv layout qualifier with multiple color outputs fails to compile. [all …]
|
| D | BufferVariables_test.cpp | 49 "layout(binding = 3) buffer buf {\n" in TEST_F() 62 // Test that shader storage block layout qualifiers can be declared for global scope. 67 "layout(shared, column_major) buffer;\n" in TEST_F() 82 "layout(binding = 3) writeonly buffer buf {\n" in TEST_F() 100 "layout(binding = 3) buffer buf {\n" in TEST_F() 119 "layout(binding = 3) buffer int a;\n" in TEST_F() 134 "layout(binding = 3) buffer buf {\n" in TEST_F() 152 "layout(binding = 3) buffer buf {\n" in TEST_F() 169 "layout(binding = 3) buffer buf {\n" in TEST_F() 187 "layout(binding = 3) buffer buf {\n" in TEST_F() [all …]
|
| D | EXT_blend_func_extended_test.cpp | 65 "layout(location = 0) out mediump vec4 fragColor;" 74 "layout(location = 0) out mediump vec4 fragColor;" 94 layout(location = 0) out mediump vec4 fragColor; 95 layout(location = 0, index = 1) out mediump vec4 secondaryFragColor; 101 // Shader that specifies index layout qualifier but not location fails to compile. 104 layout(index = 0) out vec4 fragColor; 109 // Shader that specifies index layout qualifier multiple times fails to compile. 112 layout(index = 0, location = 0, index = 1) out vec4 fragColor; 117 // Global index layout qualifier fails. 120 layout(index = 0); [all …]
|
| D | QualificationOrderESSL31_test.cpp | 84 // GLSL ES 3.10 allows multiple layout qualifiers to be specified. 90 "in layout(location=1) layout(location=2) vec4 something;\n" in TEST_F() 108 // The test checks layout qualifier overriding when multiple layouts are specified. 115 "layout(shared) layout(std140) layout(column_major) uniform MyInterface\n" in TEST_F() 136 // The test checks layout qualifier overriding when multiple layouts are specified. 143 "layout(row_major) layout(std140) layout(shared) uniform MyInterface\n" in TEST_F()
|
| D | ShaderValidation_test.cpp | 353 // Block layout qualifiers can't be used on non-block uniforms (ESSL 3.00 section 4.3.8.3) 359 "layout(packed) uniform mat2 x;\n" in TEST_F() 370 // Block layout qualifiers can't be used on non-block uniforms (ESSL 3.00 section 4.3.8.3) 378 "layout(packed) uniform mat2, x;\n" in TEST_F() 766 // Layout qualifier can only appear in global scope (ESSL 3.00 section 4.3.8) 776 " for (int j = 0; layout(location = 0) bool b = false; ++j) {\n" in TEST_F() 787 // Layout qualifier can only appear where specified (ESSL 3.00 section 4.3.8) 795 "layout(location = 0) vec4 foo() {\n" in TEST_F() 834 "layout(location = 0) out vec4 my_FragColor;\n" in TEST_F() 854 "layout(location = 0) out vec4 my_SecondaryFragColor;\n" in TEST_F() [all …]
|
| D | ShaderImage_test.cpp | 139 "layout(local_size_x = 4) in;\n" in TEST_F() 140 "layout(rgba32f, binding = 1) uniform highp readonly image2D myImage;\n" in TEST_F() 159 "layout(local_size_x = 4) in;\n" in TEST_F() 160 "layout(rgba32ui, binding = 3) uniform highp writeonly readonly uimage3D myImage;\n" in TEST_F() 179 "layout(local_size_x = 4) in;\n" in TEST_F() 180 "layout(rgba32f) uniform highp readonly image2D my2DImageInput;\n" in TEST_F() 181 "layout(rgba32i) uniform highp readonly iimage3D my3DImageInput;\n" in TEST_F() 209 "layout(local_size_x = 4) in;\n" in TEST_F() 210 "layout(rgba32f) uniform highp writeonly image2D my2DImageOutput;\n" in TEST_F() 211 "layout(rgba32ui) uniform highp writeonly uimage2DArray my2DImageArrayOutput;\n" in TEST_F() [all …]
|
| D | WorkGroupSize_test.cpp | 50 // checks whether compiler has parsed the local size layout qualifiers qcorrectly 55 "layout(local_size_x=5) in;\n" in TEST_F() 67 // checks whether compiler has parsed the local size layout qualifiers qcorrectly 72 "layout(local_size_x=5, local_size_z=10) in;\n" in TEST_F() 84 // checks whether compiler has parsed the local size layout qualifiers qcorrectly 89 "layout(local_size_x=5, local_size_z=10, local_size_y=15) in;\n" in TEST_F()
|
| D | OVR_multiview_test.cpp | 197 "layout(num_views = 2) in;\n" in TEST_F() 215 "layout(num_views = 2) in;\n" in TEST_F() 216 "layout(num_views = 1) in;\n" in TEST_F() 234 "layout(num_views = 0) in;\n" in TEST_F() 252 "layout(num_views = 5) in;\n" in TEST_F() 270 "layout(num_views = 2) in;\n" in TEST_F() 271 "layout(num_views = 2) in; // Duplicated on purpose\n" in TEST_F() 355 "layout(num_views = 2) in;\n" in TEST_F() 376 "layout(num_views = 2) in;\n" in TEST_F() 394 // Test that compiling an ESSL 1.00 shader with an unsupported global layout qualifier fails. [all …]
|
| /device/generic/vulkan-cereal/third-party/angle/src/tests/gl_tests/ |
| D | MatrixTest.cpp | 39 layout(location=0) out mat3 matrix; in TEST_P() 40 layout(location=3) out vec3 vector; in TEST_P() 52 layout(location=0) in mat3 matrix; in TEST_P() 53 layout(location=3) in vec3 vector; in TEST_P() 75 layout(location=0) out mat3 matrix; in TEST_P() 76 layout(location=2) out vec3 vector; in TEST_P() 103 layout(location=0) out mat3x4 matrix; in TEST_P() 104 layout(location=3) out vec3 vector; in TEST_P() 116 layout(location=0) in mat3x4 matrix; in TEST_P() 117 layout(location=3) in vec3 vector; in TEST_P() [all …]
|
| D | ShaderStorageBufferTest.cpp | 190 "layout(shared) buffer blockName {\n" in TEST_P() 240 "layout(shared) buffer blockName0 {\n" in TEST_P() 250 "layout(shared) buffer blockName1 {\n" in TEST_P() 268 "layout(local_size_x=1, local_size_y=1, local_size_z=1) in;\n" in TEST_P() 269 "layout(std140, binding = 1) buffer blockName {\n" in TEST_P() 283 // The array stride are rounded up to the base alignment of a vec4 for std140 layout. in TEST_P() 323 layout(local_size_x=1, local_size_y=1, local_size_z=1) in; in TEST_P() 324 layout(std140, binding = 0) buffer block { in TEST_P() 419 layout(local_size_x=1, local_size_y=1, local_size_z=1) in; in TEST_P() 421 layout(std140, binding = 0) buffer block0 { in TEST_P() [all …]
|
| D | ComputeShaderTest.cpp | 102 layout(local_size_x=1) in; in TEST_P() 117 layout(local_size_x=1) in; in TEST_P() 165 layout(local_size_x=1) in; in TEST_P() 168 layout(rgba32i) uniform highp writeonly iimage2D imageOut; in TEST_P() 192 layout(local_size_x=1) in; in TEST_P() 241 layout(local_size_x=1) in; in TEST_P() 289 layout(local_size_x=1) in; in TEST_P() 342 layout(local_size_x=4, local_size_y=3, local_size_z=2) in; in TEST_P() 343 layout(rgba32ui) uniform highp writeonly uimage2D imageOut; in TEST_P() 362 layout(local_size_x=4, local_size_y=3, local_size_z=2) in; in TEST_P() [all …]
|
| D | GeometryShaderTest.cpp | 30 ostream << "layout (" << inputPrimitive << ") in;\n"; in CreateEmptyGeometryShader() 34 ostream << "layout (" << outputPrimitive << ") out;\n"; in CreateEmptyGeometryShader() 38 ostream << "layout (invocations = " << invocations << ") in;\n"; in CreateEmptyGeometryShader() 42 ostream << "layout (max_vertices = " << maxVertices << ") out;\n"; in CreateEmptyGeometryShader() 70 layout (invocations = 3, triangles) in; in TEST_P() 71 layout (triangle_strip, max_vertices = 3) out; in TEST_P() 257 layout (invocations = 3, triangles) in; in TEST_P() 258 layout (points, max_vertices = 3) out; in TEST_P() 271 layout (location = 0) out vec4 output_color; in TEST_P() 302 layout (invocations = 3, triangles) in; in TEST_P() [all …]
|
| /device/generic/vulkan-cereal/protocols/vulkan/appendices/ |
| D | VK_NV_geometry_shader_passthrough.txt | 36 When using GLSL source-based shading languages, the code:passthrough layout 39 To use the code:passthrough layout, in GLSL the 80 output layout qualifiers for the output primitive type and maximum vertex 92 | Input Layout | Implied Output Layout 93 | points | `layout(points, max_vertices=1)` 94 | lines | `layout(line_strip, max_vertices=2)` 95 | triangles | `layout(triangle_strip, max_vertices=3)` 103 must also be explicitly assigned location layout qualifiers. 106 Redeclarations of built-in varables that add the passthrough layout 118 layout(triangles) in; [all …]
|
| /device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/vulkan/ |
| D | SemaphoreVk.cpp | 22 vk::ImageLayout GetVulkanImageLayout(GLenum layout) in GetVulkanImageLayout() argument 24 switch (layout) in GetVulkanImageLayout() 37 // should optimize depth/stencil image layout transitions to only be performed on the in GetVulkanImageLayout() 132 // informed that the layout of the image has been externally transitioned, so we need to in wait() 138 vk::ImageLayout layout = GetVulkanImageLayout(textureAndLayout.layout); in wait() local 146 // Queue ownership transfer and layout transition. in wait() 148 layout, commandBuffer); in wait() 184 // to the requested layout. in signal() 189 vk::ImageLayout layout = GetVulkanImageLayout(textureAndLayout.layout); in signal() local 191 // Don't transition to Undefined layout. If external wants to transition the image away in signal() [all …]
|
| /device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/vulkan/shaders/src/ |
| D | BlitResolve.frag | 99 layout(push_constant) uniform PushConstants { 115 layout(set = 0, binding = 0) uniform COLOR_SRC_RESOURCE(SRC_RESOURCE_NAME) color; 117 layout(location = 0) out ColorType colorOut0; 118 layout(location = 1) out ColorType colorOut1; 119 layout(location = 2) out ColorType colorOut2; 120 layout(location = 3) out ColorType colorOut3; 121 layout(location = 4) out ColorType colorOut4; 122 layout(location = 5) out ColorType colorOut5; 123 layout(location = 6) out ColorType colorOut6; 124 layout(location = 7) out ColorType colorOut7; [all …]
|
| /device/generic/vulkan-cereal/protocols/vulkan/chapters/ |
| D | descriptorsets.txt | 74 ename:VK_IMAGE_LAYOUT_GENERAL layout in order to access its data in a 112 ename:VK_IMAGE_LAYOUT_GENERAL layout in order to access its data in a 147 ename:VK_IMAGE_LAYOUT_GENERAL layout in order to access its data in a 294 ename:VK_IMAGE_LAYOUT_GENERAL layout in order to access its data in a 304 descriptor set layout. 305 The layout object may: be used to define the association of each descriptor 307 The layout is used both for determining the resources that need to be 313 === Descriptor Set Layout 315 [open,refpage='VkDescriptorSetLayout',desc='Opaque handle to a descriptor set layout object',type='… 318 A descriptor set layout object is defined by an array of zero or more [all …]
|
| /device/generic/vulkan-cereal/stream-servers/ |
| D | drm_fourcc.h | 195 * When adding a new token please document the layout with a code comment, 210 * Linear Layout 212 * Just plain linear layout. Note that this is different from no specifying any 222 * Intel X-tiling layout 224 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb) 225 * in row-major layout. Within the tile bytes are laid out row-major, with 231 * layout in a simple way for i915-specific userspace. 236 * Intel Y-tiling layout 238 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb) 239 * in row-major layout. Within the tile bytes are laid out in OWORD (16 bytes) [all …]
|
| /device/google/coral-kernel/sm8150/original-kernel-headers/drm/ |
| D | drm_fourcc.h | 196 * When adding a new token please document the layout with a code comment, 211 * Linear Layout 213 * Just plain linear layout. Note that this is different from no specifying any 223 * Intel X-tiling layout 225 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb) 226 * in row-major layout. Within the tile bytes are laid out row-major, with 232 * layout in a simple way for i915-specific userspace. 237 * Intel Y-tiling layout 239 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb) 240 * in row-major layout. Within the tile bytes are laid out in OWORD (16 bytes) [all …]
|
| /device/google/sunfish-kernel/sm7150/original-kernel-headers/drm/ |
| D | drm_fourcc.h | 196 * When adding a new token please document the layout with a code comment, 211 * Linear Layout 213 * Just plain linear layout. Note that this is different from no specifying any 223 * Intel X-tiling layout 225 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb) 226 * in row-major layout. Within the tile bytes are laid out row-major, with 232 * layout in a simple way for i915-specific userspace. 237 * Intel Y-tiling layout 239 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb) 240 * in row-major layout. Within the tile bytes are laid out in OWORD (16 bytes) [all …]
|
| /device/generic/vulkan-cereal/stream-servers/vulkan/ |
| D | Compositor.vert | 4 layout(binding = 1) uniform UniformBufferObject { 9 layout(location = 0) in vec2 inPosition; 10 layout(location = 1) in vec2 texCoord; 12 layout(location = 0) out vec2 fragTexCoord;
|
| /device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/vulkan/doc/ |
| D | TransformFeedbackViaExtension.md | 43 we add the below layout qualifier for built-in XFB varyings. 50 layout(xfb_buffer = buffer_num, xfb_offset = offset, xfb_stride = stride) varying_type varying_name; 58 layout(xfb_buffer = buffer_num, xfb_offset = offset, xfb_stride = stride, location = num ) 66 transformFeedback varying, we can generate a layout qualifier like this. 73 layout(xfb_buffer = buffer_num, xfb_offset = offset, xfb_stride = stride) varying_type varying_name… 89 layout(xfb_buffer = buffer_num, xfb_offset = offset, xfb_stride = stride, location = num )
|
| /device/google/barbet-kernel/sm7250/original-kernel-headers/drm/ |
| D | drm_fourcc.h | 197 * When adding a new token please document the layout with a code comment, 212 * Linear Layout 214 * Just plain linear layout. Note that this is different from no specifying any 224 * Intel X-tiling layout 226 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb) 227 * in row-major layout. Within the tile bytes are laid out row-major, with 233 * layout in a simple way for i915-specific userspace. 238 * Intel Y-tiling layout 240 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb) 241 * in row-major layout. Within the tile bytes are laid out in OWORD (16 bytes) [all …]
|
| /device/google/redbull-kernel/sm7250/original-kernel-headers/drm/ |
| D | drm_fourcc.h | 197 * When adding a new token please document the layout with a code comment, 212 * Linear Layout 214 * Just plain linear layout. Note that this is different from no specifying any 224 * Intel X-tiling layout 226 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb) 227 * in row-major layout. Within the tile bytes are laid out row-major, with 233 * layout in a simple way for i915-specific userspace. 238 * Intel Y-tiling layout 240 * This is a tiled layout using 4Kb tiles (except on gen2 where the tiles 2Kb) 241 * in row-major layout. Within the tile bytes are laid out in OWORD (16 bytes) [all …]
|