0fdc67dcd0
* dx12: abandoned shader reflection, added support for custom root signatures, removed dxcompiler dependency * removed dll copies from build scripts * update * updates * updates * fix * update * update * updates * added custom root signatures to some passes * fix * updates * comment fix * allow shaders to not have root signatures, if they are part of a pipeline which has root signature for an other shader * root signature optimizer * batched descriptor null initializer * shader updates * update * put the atmospheric sky update to async compute * improved debug of root constant - push constant data size mismatch * bitwise root param iteration * added superluminal perf api * performance api will be optional * async updaterenderdata fixes * fixes * fixes * occludee update * raytraced reflection implementation with ray query instead of rt pipeline * alwaysactive * shadercompiler enable old d3dcompiler because why not, it's only loaded on demand now * removed common sampler api * root signature simplification * fixes * linear allocator fix * push constants are now immediately set * fixes * version * fix? * improved descriptor allocator * default sampler table reduction * gpu sort lib push constants * small update * descriptor allocator safety * shader compiler refactor * some optimizations
16 lines
410 B
HLSL
16 lines
410 B
HLSL
struct VertexOutput
|
|
{
|
|
float4 pos : SV_POSITION;
|
|
float2 uv : TEXCOORD0;
|
|
float4 col : COLOR0;
|
|
};
|
|
|
|
Texture2D texture0 : register(t0);
|
|
SamplerState sampler0 : register(s0);
|
|
|
|
[RootSignature("RootFlags(ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT), CBV(b0), DescriptorTable(SRV(t0)), DescriptorTable(Sampler(s0))")]
|
|
float4 main(VertexOutput input) : SV_TARGET
|
|
{
|
|
return input.col * texture0.Sample(sampler0, input.uv);
|
|
}
|