[Mesa-dev] [PATCH (gles3) 15/20] glsl: Add lowering pass for GLSL ES 3.00 pack/unpack operations (v2)
Matt Turner
mattst88 at gmail.com
Wed Jan 23 10:42:19 PST 2013
On Wed, Jan 23, 2013 at 6:06 AM, Ian Romanick <idr at freedesktop.org> wrote:
> On 01/22/2013 10:36 PM, Matt Turner wrote:
>>
>> On Mon, Jan 21, 2013 at 12:49 AM, Chad Versace
>> <chad.versace at linux.intel.com> wrote:
>>>
>>> + /**
>>> + * \brief Lower a packSnorm2x16 expression.
>>> + *
>>> + * \param vec2_rval is packSnorm2x16's input
>>> + * \return packSnorm2x16's output as a uint rvalue
>>> + */
>>> + ir_rvalue*
>>> + lower_pack_snorm_2x16(ir_rvalue *vec2_rval)
>>> + {
>>> + /* From page 88 (94 of pdf) of the GLSL ES 3.00 spec:
>>> + *
>>> + * hihgp uint packSnorm2x16(vec2 v)
>>
>>
>> high.
>
>
> No, highp is correct.
Should have been more clear. I meant high(p) instead of hihgp.
More information about the mesa-dev
mailing list