[PATCH vkd3d v3 03/12] vkd3d-shader/hlsl: Add aoffimmi modifiers on Sample sm4 instructions.

Francisco Casas fcasas at codeweavers.com
Mon Dec 20 08:19:30 CST 2021


December 17, 2021 6:33 PM, "Zebediah Figura (she/her)" <zfigura at codeweavers.com> wrote:

> 
>> + {
>> + hlsl_error(ctx, &texel_offset->loc, VKD3D_SHADER_ERROR_HLSL_INVALID_TYPE,
>> + "Offset must resolve to integer literal in the range -8 to 7\n");
> 
> INVALID_TYPE isn't really appropriate here; we probably need a new enumeration value.
> 

Okay,

VKD3D_SHADER_ERROR_HLSL_INVALID_TEXEL_OFFSET        = 5018,

sounds right?



More information about the wine-devel mailing list