Re: [AD] shader variable names |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 02/27/2013 05:00 PM, Trent Gamblin wrote:
> On 2013-02-27, at 4:58 PM, Jon Rafkind <workmin@xxxxxxxxxx> wrote:
>
>> On 02/27/2013 04:17 PM, Peter Wang wrote:
>>> On Wed, 27 Feb 2013 17:13:47 -0500, SiegeLord <slabode@xxxxxxxxxx> wrote:
>>>> So I think these macros should either be gone, or not be public because
>>>> their usage outside the string literal shader definitions is always a
>>>> mistake.
>>> In the examples there is this:
>>> al_set_shader_sampler(shader, ALLEGRO_SHADER_VAR_TEX, bmp, 0);
>>>
>>> But otherwise, I think there is value to using the macros within Allegro
>>> itself.
>>>
>>> Jon, please don't push incomplete changes >:(
>> Incomplete in what sense?
> Well for 1 D3D is broken right now..
So does d3d use the "tex" name? I thought it used something else entirely.