Skip to content

Draft: vkd3d-shader/hlsl: Improve handling of "technique" tokens.

Nikolay Sivov requested to merge nsivov/vkd3d:fx_technique_token into master

This change only implements case-sensitivity of technique keywords and related checks when corresponding profile is used. My immediate plan is to add some synthetic type for technique variables, for example as {object, void}, then add named techniques as variables. This is useful because these names are participating in global scope, and should not collide with normal variables. After that "pass_list" will be split, at least in two variants because of how much d3d9 syntax differs. Some trivial changes will be need later to have some top level fx compilation helper that considers only fx objects and calls ps/vs/gs compiler to create inner shader blobs on same original source.

Merge request reports

Loading