Hi guys,
not really finding a great explaination in my 2 minute search, of what
the USCALED and SSCALED types are representative of
On r600 hw at least we have a SCALED type, which seems to be an
integer in float point format, as well as an INT type which is natural
integers.
Are the gallium sca
Hi Kenneth,
On Fri, 9 Sep 2011 14:41:45 -0700
Kenneth Graunke wrote:
> - if (reg->type == BRW_REGISTER_TYPE_F) {
> - return reg->imm.f == 0.0;
> + if (type == BRW_REGISTER_TYPE_F) {
> + return imm.f == 0.0;
[...]
> - if (reg->type == BRW_REGISTER_TYPE_F) {
> - return reg->i
---
src/gallium/auxiliary/pipebuffer/pb_buffer.h | 24 ++
.../auxiliary/pipebuffer/pb_buffer_fenced.c| 32 ++--
.../auxiliary/pipebuffer/pb_buffer_malloc.c|8 ++--
src/gallium/auxiliary/pipebuffer/pb_bufmgr_cache.c | 30 +-
I haven't read the surrounding code, but I'm relatively sure this
patch covers whether or not the given register can be filled with a
constant zero or one, which would be represented in the shader as a
special swizzle or selector. In that case, you'd only want to match
exact 0.0 and 1.0, but that's
On Sun, Sep 11, 2011 at 10:11 AM, Dave Airlie wrote:
> Hi guys,
>
> not really finding a great explaination in my 2 minute search, of what
> the USCALED and SSCALED types are representative of
>
> On r600 hw at least we have a SCALED type, which seems to be an
> integer in float point format, as w