-
- Downloads
vkd3d-shader/hlsl: Allow derefs to provide the data_type.
After lowering the derefs path to a single offset node, there was no way of knowing the type of the referenced part of the variable. This little modification allows to avoid having to pass the data type everywhere and it is required for supporting instructions that reference objects components within struct types. Since deref->data_type allows us to retrieve the type of the deref, deref->offset_regset is no longer necessary.
parent
d4b5e79c
No related branches found
No related tags found
Showing
- libs/vkd3d-shader/hlsl.c 3 additions, 1 deletionlibs/vkd3d-shader/hlsl.c
- libs/vkd3d-shader/hlsl.h 4 additions, 2 deletionslibs/vkd3d-shader/hlsl.h
- libs/vkd3d-shader/hlsl_codegen.c 9 additions, 5 deletionslibs/vkd3d-shader/hlsl_codegen.c
- libs/vkd3d-shader/tpf.c 30 additions, 31 deletionslibs/vkd3d-shader/tpf.c
Loading
Please register or sign in to comment