2023-03-31 17:55:19 +00:00
|
|
|
RWTexture2D<float4> tex : register(u0);
|
2023-01-18 19:42:03 +00:00
|
|
|
|
|
|
|
struct tint_symbol {
|
|
|
|
float4 value : SV_Position;
|
|
|
|
};
|
|
|
|
|
|
|
|
float4 vertex_main_inner() {
|
|
|
|
const float4 value = float4(1.0f, 2.0f, 3.0f, 4.0f);
|
|
|
|
tex[int2(9, 8)] = value;
|
|
|
|
return (0.0f).xxxx;
|
|
|
|
}
|
|
|
|
|
|
|
|
tint_symbol vertex_main() {
|
|
|
|
const float4 inner_result = vertex_main_inner();
|
|
|
|
tint_symbol wrapper_result = (tint_symbol)0;
|
|
|
|
wrapper_result.value = inner_result;
|
|
|
|
return wrapper_result;
|
|
|
|
}
|