One stop solution for all Vulkan samples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Jeroen Bakker 8d80d2959d
Fix #1066: Fix OIT blending (#1186)
9 months ago
..
16bit_arithmetic float16-int8 PR fixup (#244) 5 years ago
16bit_storage_input_output Add 16-bit storage InputOutput performance sample (#213) 4 years ago
async_compute Add async compute performance sample (#264) 4 years ago
buffer_device_address Add buffer device address sample (#239) 4 years ago
color_write_enable Fix hlsl for ray tracing samples. (#1130) 10 months ago
compute_nbody Add HLSL shaders and improve tooling (#961) 1 year ago
conditional_rendering Add HLSL shaders and improve tooling (#961) 1 year ago
conservative_rasterization Add HLSL shaders and improve tooling (#961) 1 year ago
constant_data Added support for spot lights (#154) 5 years ago
debug_utils Fix hlsl for ray tracing samples. (#1130) 10 months ago
deferred Added support for spot lights (#154) 5 years ago
descriptor_buffer_basic Add HLSL shaders and improve tooling (#961) 1 year ago
descriptor_indexing Add HLSL shaders and improve tooling (#961) 1 year ago
dynamic_blending Add HLSL shaders and improve tooling (#961) 1 year ago
dynamic_line_rasterization Add HLSL shaders and improve tooling (#961) 1 year ago
dynamic_primitive_clipping Add HLSL shaders and improve tooling (#961) 1 year ago
dynamic_rendering Add HLSL shaders and improve tooling (#961) 1 year ago
dynamic_rendering_local_read Add sample for dynamic rendering local read (#887) 10 months ago
dynamic_uniform_buffers Add HLSL shaders and improve tooling (#961) 1 year ago
extended_dynamic_state2 Add sample: Extended Dynamic State2 (#592) 2 years ago
fragment_shader_barycentric Fix hlsl for ray tracing samples. (#1130) 10 months ago
fragment_shading_rate Fix hlsl for ray tracing samples. (#1130) 10 months ago
fragment_shading_rate_dynamic Updating rate calculation (#398) 4 years ago
graphics_pipeline_library Add HLSL shaders and improve tooling (#961) 1 year ago
gshader_to_mshader Add geometry shader to mesh shader sample (#681) 2 years ago
hdr Fix hlsl for ray tracing samples. (#1130) 10 months ago
hlsl_shaders Add HLSL shader sample (#388) 4 years ago
instancing Fix hlsl for ray tracing samples. (#1130) 10 months ago
logic_op_dynamic_state Add HLSL shaders and improve tooling (#961) 1 year ago
mesh_shader_culling fix: typo in 'mesh_shader_shared.h' 2 years ago
mesh_shading Fix hlsl for ray tracing samples. (#1130) 10 months ago
mobile_nerf Mobile NeRF general fixes (#1092) 12 months ago
multi_draw_indirect bindless resources demonstration (#330) 4 years ago
oit_depth_peeling [sample] Order-independent transparency using depth peeling (#869) 1 year ago
oit_linked_lists Fix #1066: Fix OIT blending (#1186) 9 months ago
open_cl_interop Add HLSL shaders and improve tooling (#961) 1 year ago
open_cl_interop_arm Add cross-vendor Open CL interoperability samples (KHR Extensions) (#686) 2 years ago
patch_control_points Fix hlsl for ray tracing samples. (#1130) 10 months ago
postprocessing Add Image Compression Control Sample (#979) 1 year ago
profiles Add HLSL shaders and improve tooling (#961) 1 year ago
push_descriptors Add HLSL shaders and improve tooling (#961) 1 year ago
ray_queries Fix hlsl for ray tracing samples. (#1130) 10 months ago
ray_tracing_basic Fix hlsl for ray tracing samples. (#1130) 10 months ago
ray_tracing_extended Fix hlsl for ray tracing samples. (#1130) 10 months ago
ray_tracing_position_fetch Fix hlsl for ray tracing samples. (#1130) 10 months ago
ray_tracing_reflection mlefrancois/rt_reflection (#274) 4 years ago
separate_image_sampler Add HLSL shaders and improve tooling (#961) 1 year ago
shader_debugprintf Add HLSL shaders and improve tooling (#961) 1 year ago
shader_object Add VK_EXT_shader_object sample (#717) 2 years ago
shadows Multithreading Render Passes Sample (#138) 5 years ago
sparse_image Add HLSL shaders and improve tooling (#961) 1 year ago
specialization_constants Added support for spot lights (#154) 5 years ago
synchronization_2 Add HLSL shaders and improve tooling (#961) 1 year ago
terrain_tessellation Add HLSL shaders and improve tooling (#961) 1 year ago
texture_compression_basisu Add HLSL shaders and improve tooling (#961) 1 year ago
texture_loading Add HLSL shaders and improve tooling (#961) 1 year ago
texture_mipmap_generation Add HLSL shaders and improve tooling (#961) 1 year ago
timeline_semaphore Add timeline semaphore sample (#238) 4 years ago
uioverlay Initial commit 6 years ago
vertex_dynamic_state Add HLSL shaders and improve tooling (#961) 1 year ago
README.adoc Add HLSL shaders and improve tooling (#961) 1 year ago
base.frag Added support for spot lights (#154) 5 years ago
base.vert New samples and framework improvements (#16) 6 years ago
imgui.frag New samples and framework improvements (#16) 6 years ago
imgui.vert New samples and framework improvements (#16) 6 years ago
lighting.h Added support for spot lights (#154) 5 years ago
pbr.frag Update links from master to main (#839) 2 years ago
pbr.vert New samples and framework improvements (#16) 6 years ago
triangle.frag New samples and framework improvements (#16) 6 years ago
triangle.vert New sample template (#635) 2 years ago

README.adoc

////
- Copyright (c) 2024, Sascha Willems
-
- SPDX-License-Identifier: Apache-2.0
-
- Licensed under the Apache License, Version 2.0 the "License";
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
////
= Shaders

== Shader languages

This folder contains the textual shaders for the samples. All samples come with GLSL shaders and some optionally with HLSL shaders. For samples that support both shader language this is a good way to compare GLSL to HLSL syntax when targeting SPIR-V for Vulkan.

== Further information

The xref:guide:ROOT:index.adoc[Vulkan Guide] contains further information on how to use HLSL with Vulkan and how it compares to GLSL:

* xref:guide::hlsl.adoc[HLSL in Vulkan]
* xref:guide::high_level_shader_language_comparison.adoc[High level shading language comparison]