浏览代码

r300g: kill off r300_fragment_shader::shadow_samplers and friends

tags/mesa-7.9-rc1
Marek Olšák 15 年前
父节点
当前提交
36e0100e9e
共有 2 个文件被更改,包括 0 次插入9 次删除
  1. 0
    2
      src/gallium/drivers/r300/r300_fs.c
  2. 0
    7
      src/gallium/drivers/r300/r300_fs.h

+ 0
- 2
src/gallium/drivers/r300/r300_fs.c 查看文件



r300_tgsi_to_rc(&ttr, tokens); r300_tgsi_to_rc(&ttr, tokens);


shader->shadow_samplers = compiler.Base.Program.ShadowSamplers;

/** /**
* Transform the program to support WPOS. * Transform the program to support WPOS.
* *

+ 0
- 7
src/gallium/drivers/r300/r300_fs.h 查看文件

* compilation failure. */ * compilation failure. */
boolean dummy; boolean dummy;


/* Bits 0-15: TRUE if it's a shadow sampler, FALSE otherwise. */
unsigned shadow_samplers;

/* Numbers of constants for each type. */ /* Numbers of constants for each type. */
unsigned externals_count; unsigned externals_count;
unsigned immediates_count; unsigned immediates_count;
/* Parent class */ /* Parent class */
struct pipe_shader_state state; struct pipe_shader_state state;


/* Bits 0-15: TRUE if it's a shadow sampler, FALSE otherwise.
* Initialized from the first compiled FS. */
unsigned shadow_samplers;

/* Currently-bound fragment shader. */ /* Currently-bound fragment shader. */
struct r300_fragment_shader_code* shader; struct r300_fragment_shader_code* shader;



正在加载...
取消
保存