[PATCH vkd3d 5/6] vkd3d-shader: Introduce VKD3D_SHADER_VISIBILITY_COMPUTE.

Henri Verbeet hverbeet at gmail.com
Mon Oct 29 10:49:48 CDT 2018


On Mon, 29 Oct 2018 at 19:16, Józef Kucia <joseph.kucia at gmail.com> wrote:
>
> On Mon, Oct 29, 2018 at 4:37 PM Henri Verbeet <hverbeet at gmail.com> wrote:
> >
> > On Mon, 29 Oct 2018 at 13:50, Józef Kucia <joseph.kucia at gmail.com> wrote:
> > > +    VKD3D_SHADER_VISIBILITY_COMPUTE = 1000000000,
> > We can of course pick any value we like, but any reason for this particular one?
>
> It isn't very important, but vkd3d_shader_visibility is currently
> compatible with D3D12_SHADER_VISIBILITY. If we use higher values for
> our additions, we should be able to preserve compatibility with the
> D3D12_SHADER_VISIBILITY enum in the future.

Yeah, I got that, but was curious about why "1000000000" as opposed to
e.g. "0x10000" or any other arbitrary value.



More information about the wine-devel mailing list