Re: [PATCH 3/8] wined3d: Cleanup and simplify texture sampling code generation.
17 Jun
2015
17 Jun
'15
9:43 a.m.
On 16 June 2015 at 22:45, Matteo Bruni <mbruni(a)codeweavers.com> wrote:
switch (resource_type) { case WINED3D_SHADER_RESOURCE_TEXTURE_1D:
...
+ type_part = "1D"; break; There's nothing necessarily wrong with this, but it also seems that aside from the "texrect" handling you could just use the same lookup table you're using for the coordinate mask size.
3832
Age (days ago)
3832
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet