mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
79aa75e98f
Object data is used for strings, textures, and shaders. Samplers are handled separately. The section is a contigious stream of <id><size><object-data>, size field is used to advance to the next <id> position. Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
47 lines
405 B
Plaintext
47 lines
405 B
Plaintext
[require]
|
|
shader model < 3.0
|
|
|
|
[effect]
|
|
bool _bool;
|
|
float _float;
|
|
half _half;
|
|
int _int;
|
|
uint _uint;
|
|
|
|
technique
|
|
{
|
|
}
|
|
|
|
[effect]
|
|
Texture tex1;
|
|
texture tex2;
|
|
teXture tex3;
|
|
Texture2DMS<float4, 4> tex4;
|
|
Texture1D tex5;
|
|
Texture2D tex6;
|
|
Texture3D tex7;
|
|
|
|
technique
|
|
{
|
|
}
|
|
|
|
[effect]
|
|
struct s
|
|
{
|
|
Texture t;
|
|
float4 f;
|
|
};
|
|
|
|
technique {}
|
|
|
|
[effect fail]
|
|
struct s
|
|
{
|
|
Texture t;
|
|
float4 f;
|
|
};
|
|
|
|
s var;
|
|
|
|
technique {}
|