xash3d-fwgs/ref_vk
Ivan Avdeev c51d593679 rtx: get ray tracing pipeline to draw at least something
on amd gpus it won't draw anything at all unless you have the entire ray tracing pipeline set up fully and correctly:
- have at least rgen, rmiss and rchit shaders
- set up shader groups to reference them
- set up sbt to reference shader groups
it is not enough to just have a single rgen shader operating like a compute shader. amd will have a shader preamble that checks for something and exit early w/o actually running any shader code you wrote

meh
2021-07-06 11:28:24 -07:00
..
rad rtx: add shader specialization 2021-06-23 17:04:26 -04:00
shaders rtx: get ray tracing pipeline to draw at least something 2021-07-06 11:28:24 -07:00
common_geometry.c massage stubs 2021-01-20 11:16:06 -08:00
TODO.md rtx: fix cached blas mismatched size assert, fixes #10 2021-06-23 17:04:26 -04:00
vk_2d.c add debug names to various objects 2021-05-17 10:36:40 -07:00
vk_2d.h engage scene rendering in VK_RenderFrame and not in EndFrame 2021-02-20 14:54:57 -08:00
vk_beams.c fix ISO C90 mixing declarations and code 2021-06-23 17:04:26 -04:00
vk_beams.h add beams rendering 2021-02-17 13:26:09 -08:00
vk_brush.c rtx: fix brush models being invisible 2021-07-04 12:48:32 -07:00
vk_brush.h move water warping to vk_brush 2021-06-19 13:44:28 -04:00
vk_buffer.c ref_vk: yet anothe var def 2021-06-06 23:14:35 -07:00
vk_buffer.h add debug names to various objects 2021-05-17 10:36:40 -07:00
vk_common.h fix building and running on linux 2021-06-06 14:17:35 -07:00
vk_const.h rtx: implement dynamic lights 2021-06-05 12:48:16 -07:00
vk_core.c fix compiler warnings for CI 2021-07-06 09:41:48 -07:00
vk_core.h [WIP] rtx: first build with ray tracing pipeline and black screen 2021-07-05 13:24:57 -07:00
vk_cvar.c rtx: improve surface lights 2021-04-12 11:07:41 -07:00
vk_cvar.h rtx: improve surface lights 2021-04-12 11:07:41 -07:00
vk_descriptor.c rtx: get ray tracing pipeline to draw at least something 2021-07-06 11:28:24 -07:00
vk_descriptor.h fix compilation warnings 2021-05-24 11:12:44 -07:00
vk_framectl.c rtx: add runtime toggle between ray tracing and traditional renderer 2021-07-04 13:17:03 -07:00
vk_framectl.h rtx: add runtime toggle between ray tracing and traditional renderer 2021-07-04 13:17:03 -07:00
vk_global.h render: split mvp matrix to separate model,view,projection matrices 2021-03-13 13:35:50 -08:00
vk_light.c fix oob mem access when parsing rad files 2021-06-23 17:04:26 -04:00
vk_light.h rtx: implement dynamic lights 2021-06-05 12:48:16 -07:00
vk_lightmap.c fix lightmap corruption 2021-02-06 13:51:23 -08:00
vk_lightmap.h apply proper lightstyles on map load 2021-02-03 10:06:21 -08:00
vk_math.c draw static map geometry with debug shader 2021-01-23 19:38:00 -08:00
vk_math.h draw static map geometry with debug shader 2021-01-23 19:38:00 -08:00
vk_nv_aftermath.c fix building and running on linux 2021-06-06 14:17:35 -07:00
vk_nv_aftermath.h fix building and running on linux 2021-06-06 14:17:35 -07:00
vk_pipeline.c [WIP] rtx: first build with ray tracing pipeline and black screen 2021-07-05 13:24:57 -07:00
vk_pipeline.h [WIP] rtx: first build with ray tracing pipeline and black screen 2021-07-05 13:24:57 -07:00
vk_ray_internal.h rtx: start splitting ray tracing into functional modules 2021-07-05 10:59:14 -07:00
vk_ray_model.c fix compiler warnings for CI 2021-07-06 09:41:48 -07:00
vk_render.c rtx: add runtime toggle between ray tracing and traditional renderer 2021-07-04 13:17:03 -07:00
vk_render.h rtx: add runtime toggle between ray tracing and traditional renderer 2021-07-04 13:17:03 -07:00
vk_renderstate.c add 2d pipelines with blending; menu is drawn almost ok 2021-01-18 13:33:22 -08:00
vk_renderstate.h add 2d pipelines with blending; menu is drawn almost ok 2021-01-18 13:33:22 -08:00
vk_rmain.c fix building and running on linux 2021-06-06 14:17:35 -07:00
vk_rtx.c rtx: get ray tracing pipeline to draw at least something 2021-07-06 11:28:24 -07:00
vk_rtx.h rtx: implement dynamic lights 2021-06-05 12:48:16 -07:00
vk_scene.c move water warping to vk_brush 2021-06-19 13:44:28 -04:00
vk_scene.h add persistent model api and use it for brushes 2021-04-07 12:11:20 -07:00
vk_sprite.c fix ISO C90 mixing declaration and code 2021-06-23 17:04:26 -04:00
vk_sprite.h remove ubo management from "public" vk_render api 2021-02-20 12:00:31 -08:00
vk_studio.c rtx: fix brush models being invisible 2021-07-04 12:48:32 -07:00
vk_studio.h remove ubo management from "public" vk_render api 2021-02-20 12:00:31 -08:00
vk_textures.c rtx: coalesce building blases in a single command buffer 2021-05-28 10:10:20 -07:00
vk_textures.h rtx: render into fixed 720p framebuffer then upscale 2021-03-20 11:15:57 -07:00
wscript rtx: get ray tracing pipeline to draw at least something 2021-07-06 11:28:24 -07:00