[PATCH 4/7] wined3d: Save pixel and vertex shader resource views in stateblocks.

Henri Verbeet hverbeet at gmail.com
Sun Mar 26 13:55:37 CDT 2017


On 24 March 2017 at 17:14, Józef Kucia <jkucia at codeweavers.com> wrote:
> @@ -3132,6 +3132,8 @@ struct wined3d_saved_states
>      WORD vertexShaderConstantsB;                /* WINED3D_MAX_CONSTS_B, 16 */
>      WORD vertexShaderConstantsI;                /* WINED3D_MAX_CONSTS_I, 16 */
>      BOOL vs_consts_f[WINED3D_MAX_VS_CONSTS_F];
> +    DWORD pixel_shader_resource_views : 16;     /* MAX_FRAGMENT_SAMPLERS, 16 */
> +    DWORD vertex_shader_resource_views : 16;    /* MAX_VERTEX_SAMPLERS,    4 */
So why is it 16 bits wide?



More information about the wine-devel mailing list