image_sample_o was refused by name. Its offset dword (x in bits 0-5, y
in 8-13, z in 16-21, signed) becomes sample's immediate offsets when it
is a constant within DXIL's -8..7; a computed or wider offset is still
refused, now saying so. Module::int_value reads an integer constant.
translate --validate on shaders.rpf: vertex/pixel 12172 -> 12176
validated (all four).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Pixel programs that write SV_DepthLessEqual or SV_DepthGreaterEqual
failed validation: "Interpolation mode for PS input position must be
linear_noperspective_centroid or linear_noperspective_sample when
outputting oDepthGE or oDepthLE". The position is now declared
linear_noperspective_centroid in those programs, as DXC declares it;
without multisampling the value is the same.
translate --validate on shaders.rpf: vertex/pixel 12172 -> 12186
validated; the error is gone from the list.
Co-Authored-By: Claude Opus 5.5 <[email protected]>