Quake II RTX doxygen  1.0 dev
god_rays_shared.h
Go to the documentation of this file.
1 
2 layout(set=GOD_RAYS_DESC_SET_IDX, binding=0) uniform sampler2DArray TEX_SHADOW_MAP;
3 
4 layout(push_constant, std140) uniform PushConstants {
5  uint pass_index;
6 } push;
7 
8 ivec2 GetRotatedGridOffset(ivec2 pixelPos)
9 {
10  return ivec2(pixelPos.y & 0x1, 1 - (pixelPos.x & 0x1));
11 }
12 
13 #define IMG_GODRAYS_INTERMEDIATE IMG_ASVGF_COLOR
14 #define TEX_GODRAYS_INTERMEDIATE TEX_ASVGF_COLOR
push
push
Definition: god_rays_shared.h:6
uint
uint32_t uint
Definition: global_ubo.h:233
layout
layout(set=GOD_RAYS_DESC_SET_IDX, binding=0) uniform sampler2DArray TEX_SHADOW_MAP
GetRotatedGridOffset
ivec2 GetRotatedGridOffset(ivec2 pixelPos)
Definition: god_rays_shared.h:8