mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
vkd3d-shader/hlsl: Tokenize 'String' the same as 'string'.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
parent
412f91a14c
commit
1ce68cee2c
Notes:
Henri Verbeet
2024-08-14 22:15:51 +02:00
Approved-by: Elizabeth Figura (@zfigura) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/995
@ -145,6 +145,7 @@ stateblock {return KW_STATEBLOCK; }
|
|||||||
stateblock_state {return KW_STATEBLOCK_STATE; }
|
stateblock_state {return KW_STATEBLOCK_STATE; }
|
||||||
static {return KW_STATIC; }
|
static {return KW_STATIC; }
|
||||||
string {return KW_STRING; }
|
string {return KW_STRING; }
|
||||||
|
String {return KW_STRING; }
|
||||||
struct {return KW_STRUCT; }
|
struct {return KW_STRUCT; }
|
||||||
switch {return KW_SWITCH; }
|
switch {return KW_SWITCH; }
|
||||||
tbuffer {return KW_TBUFFER; }
|
tbuffer {return KW_TBUFFER; }
|
||||||
|
@ -17,7 +17,7 @@ float4 main() : sv_target
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[pixel shader todo fail(sm>=6)]
|
[pixel shader fail(sm>=6)]
|
||||||
// Uninitialized strings are allowed for non-fx profiles
|
// Uninitialized strings are allowed for non-fx profiles
|
||||||
String s;
|
String s;
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ float4 main() : sv_target
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[pixel shader fail(sm<6) todo]
|
[pixel shader fail(sm<6)]
|
||||||
typedef float4 String;
|
typedef float4 String;
|
||||||
|
|
||||||
float4 main() : sv_target
|
float4 main() : sv_target
|
||||||
@ -42,7 +42,7 @@ float4 main() : sv_target
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
[pixel shader fail(sm<6) todo]
|
[pixel shader fail(sm<6)]
|
||||||
float4 String;
|
float4 String;
|
||||||
|
|
||||||
float4 main() : sv_target
|
float4 main() : sv_target
|
||||||
|
Loading…
Reference in New Issue
Block a user